mirror of
https://github.com/python/cpython.git
synced 2026-04-22 03:41:08 +00:00
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
(cherry picked from commit ee0309f3d8)
Co-authored-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
This commit is contained in:
parent
52a5b71063
commit
4b5340bb63
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
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
|
||||
importing module needs to use submodules with the same name from different
|
||||
packages.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue