Skip to content

Commit 6625658

Browse files
committed
fix: include match_args
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent e01932b commit 6625658

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/packaging/filenames.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ class WheelFilename:
192192
"""
193193

194194
__slots__ = ("build_tag", "original_name", "original_version", "tags")
195+
__match_args__ = ("name", "version", "build_tag", "tags")
195196

196197
def __init__(
197198
self,
@@ -407,6 +408,7 @@ class SourceDistributionFilename:
407408
"""
408409

409410
__slots__ = ("original_name", "original_version")
411+
__match_args__ = ("name", "version")
410412

411413
def __init__(self, name: str, version: str) -> None:
412414
"""Create a source distribution filename from name and version.

0 commit comments

Comments
 (0)