mirror of https://github.com/python/cpython
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
This commit is contained in:
parent
d5d2b45469
commit
ee0309f3d8
|
@ -523,7 +523,7 @@ Although certain modules are designed to export only names that follow certain
|
||||||
patterns when you use ``import *``, it is still considered bad practice in
|
patterns when you use ``import *``, it is still considered bad practice in
|
||||||
production code.
|
production code.
|
||||||
|
|
||||||
Remember, there is nothing wrong with using ``from Package import
|
Remember, there is nothing wrong with using ``from package import
|
||||||
specific_submodule``! In fact, this is the recommended notation unless the
|
specific_submodule``! In fact, this is the recommended notation unless the
|
||||||
importing module needs to use submodules with the same name from different
|
importing module needs to use submodules with the same name from different
|
||||||
packages.
|
packages.
|
||||||
|
|
Loading…
Reference in New Issue