Skip to content

Commit c8d916f

Browse files
authored
Update glossary entry for namespace packages with pep 420 reference
1 parent 5b49945 commit c8d916f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

source/glossary.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,16 @@ Glossary
122122
Implicit Namespace Package
123123
Native Namespace Package
124124

125-
Native namespace and implicit namespace packages are two names for the same thing.
125+
"Native namespace packages" and "implicit namespace packages" are two names for
126+
the same type of namespace package. It's defined in :pep:`420`, and is available
127+
in Python 3.3 and later.
128+
126129
The term "native" derives from the built-in feature of Python to create packages
127130
without installing an extra package, such as setuptools, from outside the standard
128131
library. The term "implicit" derives from the fact that you don't have to explicitly
129-
declare the namespace package in a :file:`__init__.py` file. This guide uses these
130-
names interchangeably.
132+
declare the namespace package in a :file:`__init__.py` file.
133+
134+
This guide uses these names interchangeably.
131135

132136
Import Package
133137

0 commit comments

Comments
 (0)