mirror of
https://github.com/python/cpython.git
synced 2026-01-11 01:40:06 +00:00
module name into consideration when determining whether a module is a package or not. This prevents importing a module's __init__ module directly and having it considered a package, which can lead to duplicate sub-modules. Thanks to Ronan Lamy for reporting the bug. |
||
|---|---|---|
| .. | ||
| builtin | ||
| extension | ||
| frozen | ||
| import_ | ||
| source | ||
| __init__.py | ||
| __main__.py | ||
| abc.py | ||
| benchmark.py | ||
| regrtest.py | ||
| test_abc.py | ||
| test_api.py | ||
| test_locks.py | ||
| test_util.py | ||
| util.py | ||