Skip to content

Commit

Permalink
bind the type variable
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein authored and neersighted committed Feb 28, 2022
1 parent e757e3e commit c5f4cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/core/version/pep440/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from poetry.core.version.pep440.segments import ReleaseTag


T = TypeVar("T")
T = TypeVar("T", bound="PEP440Version")

# we use the phase "z" to ensure we always sort this after other phases
_INF_TAG = ReleaseTag("z", math.inf)
Expand Down

0 comments on commit c5f4cda

Please sign in to comment.