[Python-checkins] closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
Miss Islington (bot)
webhook-mailer at python.org
Mon Apr 29 22:25:44 EDT 2019
https://github.com/python/cpython/commit/3e5c4a7c804c3ad76a558e5463655c329aee6437
commit: 3e5c4a7c804c3ad76a558e5463655c329aee6437
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年04月29日T19:25:35-07:00
summary:
closes bpo-35329: Change 'Package' to 'package' in accordance with PEP8. (GH-13008)
(cherry picked from commit ee0309f3d83ab9ffa02542bcf45ece84f4fb265e)
Co-authored-by: Utkarsh Gupta <guptautkarsh2102 at gmail.com>
files:
M Doc/tutorial/modules.rst
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index 042d23306bdd..f767bb69c112 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -518,7 +518,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.
More information about the Python-checkins
mailing list