Skip to content

Commit c5f4cda

Browse files
NiklasRosensteinneersighted
authored andcommitted
bind the type variable
1 parent e757e3e commit c5f4cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/poetry/core/version/pep440/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from poetry.core.version.pep440.segments import ReleaseTag
1717

1818

19-
T = TypeVar("T")
19+
T = TypeVar("T", bound="PEP440Version")
2020

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

0 commit comments

Comments
 (0)