Skip to content

Commit 30831a7

Browse files
committed
.
1 parent 87938d0 commit 30831a7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

stdlib/urllib/parse.pyi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,8 @@ if sys.version_info >= (3, 15):
7575
class _DefragResultBase(NamedTuple, Generic[_ResultStrT, _ResultComponentT]):
7676
url: _ResultStrT
7777
fragment: _ResultComponentT
78-
if sys.version_info >= (3, 15):
79-
# Ignore needed due to mypy#21453.
80-
def geturl(self) -> _ResultStrT: ... # type: ignore[misc]
78+
# Ignore needed due to mypy#21453.
79+
def geturl(self) -> _ResultStrT: ... # type: ignore[misc]
8180

8281
else:
8382
class _DefragResultBase(NamedTuple, Generic[_ResultStrT, _ResultComponentT]):

0 commit comments

Comments
 (0)