Vehicle-Anti-Theft-Face-Rec.../venv/Lib/site-packages/nbclient/__init__.py

18 lines
480 B
Python
Raw Permalink Normal View History

2020-11-12 16:05:57 +00:00
import sys
import subprocess
from .client import NotebookClient, execute # noqa: F401
from ._version import version as __version__ # noqa: F401
def _cleanup() -> None:
pass
# patch subprocess on Windows for python<3.7
# see https://bugs.python.org/issue37380
# the fix for python3.7: https://github.com/python/cpython/pull/15706/files
if sys.platform == 'win32':
if sys.version_info < (3, 7):
subprocess._cleanup = _cleanup
subprocess._active = None