Skip to content

Commit 306d0b8

Browse files
authored
docs: fix tags return type in parse_wheel_filename docs (#973)
1 parent 013f3b0 commit 306d0b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/utils.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ Reference
8181
:class:`~packaging.version.Version`. The build number is ``()`` if
8282
there is no build number in the wheel filename, otherwise a
8383
two-item tuple of an integer for the leading digits and
84-
a string for the rest of the build number. The tags portion is an
85-
instance of :class:`~packaging.tags.Tag`.
84+
a string for the rest of the build number. The tags portion is a
85+
frozen set of :class:`~packaging.tags.Tag` instances (as the tag
86+
string format allows multiple tags to be combined into a single
87+
string).
8688

8789
:param str filename: The name of the wheel file.
8890
:raises InvalidWheelFilename: If the filename in question

0 commit comments

Comments
 (0)