File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Reference
63
63
instance of :class: `~packaging.tags.Tag `.
64
64
65
65
:param str filename: The name of the wheel file.
66
- :raises packaging.utils. InvalidWheelFilename: If the filename in question
66
+ :raises InvalidWheelFilename: If the filename in question
67
67
does not follow conventions outlined in `PEP 427 `_.
68
68
69
69
.. doctest ::
@@ -89,7 +89,7 @@ Reference
89
89
represented by an instance of :class: `~packaging.version.Version `.
90
90
91
91
:param str filename: The name of the sdist file.
92
- :raises packaging.utils. InvalidSdistFilename: If the filename does not end
92
+ :raises InvalidSdistFilename: If the filename does not end
93
93
with an sdist extension (``.zip `` or ``.tar.gz ``), or if it does not
94
94
contain a dash separating the name and the version of the distribution.
95
95
@@ -103,5 +103,14 @@ Reference
103
103
>>> ver == Version(' 1.0' )
104
104
True
105
105
106
+
107
+ .. exception :: InvalidWheelFilename
108
+
109
+ Raised when a file name for a wheel is invalid.
110
+
111
+ .. exception :: InvalidSdistFilename
112
+
113
+ Raised a source distribution file name is considered invalid.
114
+
106
115
.. _Source distribution format : https://packaging.python.org/specifications/source-distribution-format/#source-distribution-file-name
107
116
.. _`PEP 427` : https://peps.python.org/pep-0427/#file-name-convention
You can’t perform that action at this time.
0 commit comments