Browse Source

Merge pull request 'PYADPT-145: Fix "NameError" if importing pEp after import failed' (#6) from htgoebel/pEpPythonAdapter:PYADPT-145 into Release_2.1

Reviewed-on: https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter/pulls/6
pull/7/head
heck 4 years ago
parent
commit
731a78ba61
  1. 4
      src/pEp/__init__.py

4
src/pEp/__init__.py

@ -1,4 +1,4 @@
# -*- coding: UTF-8 -*-
# -*- coding: utf-8 -*-
# pEp package
#
# The names that are in _pEp that do not begin with an underscore, will be be imported into, and "re-exported" from this module.
@ -30,7 +30,7 @@ from ._pEp import *
# import the native module into the current namespace because we also need to access the names beginning
# with an underscore (of _pEp), but we dont want to import them into this module
import pEp._pEp
from . import _pEp
# 3rd party imports
from threading import Thread, Barrier

Loading…
Cancel
Save