Skip to content

Commit b644c03

Browse files
committed
Update docs for the packagetype attribute.
1 parent 6030a2b commit b644c03

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

pypi_json/typehints.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,10 @@ class DistributionPackageDict(TypedDict):
157157

158158
packagetype: str
159159
"""
160-
The type of the package, or :py:obj:`None` if the filename cannot be parsed.
160+
The distribution package type.
161161
162-
The recognized package types are:
163-
164-
* ``'dumb'``
165-
* ``'egg'``
166-
* ``'msi'``
167-
* ``'rpm'``
168-
* ``'sdist'``
169-
* ``'wheel'``
170-
* ``'wininst'``
162+
Possible values include ``'bdist_wheel'``, ``'sdist'``, ``'bdist_wininst'``, ``'bdist_egg'``, ``'bdist_msi'``,
163+
``'bdist_dumb'``, ``'bdist_rpm'``, and ``'bdist_dmg'``.
171164
"""
172165

173166
#: Either ``'source'`` or a :pep:`425` Python tag.

0 commit comments

Comments
 (0)