mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #24192: Fix namespace package imports.
This commit is contained in:
parent
188c18d48f
commit
183a941bc1
8 changed files with 4525 additions and 4591 deletions
|
|
@ -35,6 +35,7 @@ try:
|
|||
except ImportError:
|
||||
from . import _bootstrap_external
|
||||
_bootstrap_external._setup(_bootstrap)
|
||||
_bootstrap._bootstrap_external = _bootstrap_external
|
||||
else:
|
||||
_bootstrap_external.__name__ = 'importlib._bootstrap_external'
|
||||
_bootstrap_external.__package__ = 'importlib'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue