[Python-checkins] Clarify amount of dots between package and subpackage (GH-17092)
Carol Willing
webhook-mailer at python.org
Fri Nov 8 15:26:45 EST 2019
https://github.com/python/cpython/commit/fc6b1bf869be9fd89c19faf8d12fa473ce5222c8
commit: fc6b1bf869be9fd89c19faf8d12fa473ce5222c8
branch: master
author: Shu <23287722+susan-shu-c at users.noreply.github.com>
committer: Carol Willing <carolcode at willingconsulting.com>
date: 2019-11-08T12:26:35-08:00
summary:
Clarify amount of dots between package and subpackage (GH-17092)
files:
M Doc/reference/import.rst
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index 0228bfb7e984c..5cce8ceaa3cb6 100644
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -83,7 +83,7 @@ module. Specifically, any module that contains a ``__path__`` attribute is
considered a package.
All modules have a name. Subpackage names are separated from their parent
-package name by dots, akin to Python's standard attribute access syntax. Thus
+package name by a dot, akin to Python's standard attribute access syntax. Thus
you might have a module called :mod:`sys` and a package called :mod:`email`,
which in turn has a subpackage called :mod:`email.mime` and a module within
that subpackage called :mod:`email.mime.text`.
More information about the Python-checkins
mailing list