Skip to content

Commit 5b49945

Browse files
authored
Add a note regarding namespace packages
Clarify terminology regarding native and implicit namespace packages and link to glossary terms.
1 parent ef4f27d commit 5b49945

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎source/guides/packaging-namespace-packages.rst‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,16 @@ from which the latter is discouraged:
7171
#. Use `legacy namespace packages`_. This comprises `pkgutil-style namespace packages`_
7272
and `pkg_resources-style namespace packages`_.
7373

74+
.. note::
75+
76+
:term:`Native namespace <Native Namespace Package>` and
77+
:term:`implicit namespace <Implicit Namespace Package>` packages are two
78+
names for the same thing. This guide uses these names interchangeably.
79+
7480
Native namespace packages
7581
-------------------------
7682

77-
Python 3.3 added **implicit** namespace packages from :pep:`420`.
78-
:term:`Native namespace` and :term:`implicit namespace` packages are two
79-
names for the same thing. All that is
83+
Python 3.3 added **implicit** namespace packages from :pep:`420`. All that is
8084
required to create a native namespace package is that you just omit
8185
:file:`__init__.py` from the namespace package directory. An example file
8286
structure (following :ref:`src-layout <setuptools:src-layout>`):

0 commit comments

Comments
 (0)