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 9 months ago
parent
commit
731a78ba61
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/pEp/__init__.py

+ 2
- 2
src/pEp/__init__.py View File

@ -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