/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
contrib/python/future/py2/_thread/__init__.py
10 строк
376 B
shadchin
Split future on py2/py3
10 окт 2023, 21:17
10 окт 2023, 21:17
8382e72
Код
Авторство
О чём код?
from __future__ import absolute_import import sys __future_module__ = True if sys.version_info[0] < 3: from thread import * else: raise ImportError('This package should not be accessible on Python 3. ' 'Either you are trying to run from the python-future src folder ' 'or your installation of python-future is corrupted.')