Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo in Version __str__
  • Loading branch information
aryanpingle authored Jul 24, 2024
commit acd2a0ad6ec714abc66f44b89959fa0ccf2121a8
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