projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5d2b45
)
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
author
Utkarsh Gupta
<guptautkarsh2102@gmail.com>
Tue, 30 Apr 2019 02:20:06 +0000
(
02:20
+0000)
committer
Benjamin Peterson
<benjamin@python.org>
Tue, 30 Apr 2019 02:20:06 +0000
(19:20 -0700)
Doc/tutorial/modules.rst
patch
|
blob
|
history
diff --git
a/Doc/tutorial/modules.rst
b/Doc/tutorial/modules.rst
index fd594fd97af4d4608e4089fc67a8eaf5a9c0354e..d0a68faa2ee2503a452050d7ccbb19d31a140794 100644
(file)
--- a/
Doc/tutorial/modules.rst
+++ b/
Doc/tutorial/modules.rst
@@
-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
P
ackage import
+Remember, there is nothing wrong with using ``from
p
ackage 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.