Skip to content

Commit e4d9d8b

Browse files
authored
fix typo in override() docstring (#305)
backport of python/cpython@12c7e9d
1 parent 4f91502 commit e4d9d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/typing_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2252,7 +2252,7 @@ def override(arg: _F, /) -> _F:
22522252
Usage:
22532253
22542254
class Base:
2255-
def method(self) -> None: ...
2255+
def method(self) -> None:
22562256
pass
22572257
22582258
class Child(Base):

0 commit comments

Comments
 (0)