Vehicle-Anti-Theft-Face-Rec.../venv/Lib/site-packages/joblib/externals/loky/backend/compat_posix.py

14 lines
334 B
Python
Raw Normal View History

2020-11-12 16:05:57 +00:00
# flake8: noqa
###############################################################################
# Compat file to load the correct wait function
#
# author: Thomas Moreau and Olivier grisel
#
import sys
# Compat wait
if sys.version_info < (3, 3):
from ._posix_wait import wait
else:
from multiprocessing.connection import wait