Clarify amount of dots between package and subpackage (GH-17092)
This commit is contained in:
parent
7e43373317
commit
fc6b1bf869
|
@ -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`.
|
||||
|
|
Loading…
Reference in New Issue