Skip to content

Commit fe9378a

Browse files
committed
Mention attrs as a distribution package which provides several import packages
1 parent 790e7cf commit fe9378a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/discussions/distribution-package-vs-import-package.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ Import packages with the same name can be provided by several
6868
distribution packages. Again, forks are a common reason for this.
6969

7070
Conversely, a distribution package can provide several import packages,
71-
although this is less common.
71+
although this is less common. An example is the attrs_ distribution
72+
package, which provides both an ``attrs`` import package with a newer
73+
API, and an ``attr`` import package with an older but supported API.
7274

7375

7476
How do distribution package names and import package names compare?
@@ -90,3 +92,4 @@ specification <name-normalization>`).
9092

9193
.. _PyPI: https://pypi.org
9294
.. _Pillow: https://pypi.org/project/Pillow
95+
.. _attrs: https://pypi.org/project/attrs

0 commit comments

Comments
 (0)