Skip to content

Commit

Permalink
Fix typo in Version __str__ (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanpingle authored Jul 24, 2024
1 parent 4493dfc commit bb61b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packaging/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def __repr__(self) -> str:
return f"<Version('{self}')>"

def __str__(self) -> str:
"""A string representation of the version that can be rounded-tripped.
"""A string representation of the version that can be round-tripped.
>>> str(Version("1.0a5"))
'1.0a5'
Expand Down

0 comments on commit bb61b7b

Please sign in to comment.