mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
GH-112152: Fix typo in typing.override
docstring (#112158)
This commit is contained in:
parent
bd89bca9e2
commit
12c7e9d573
1 changed files with 1 additions and 1 deletions
|
@ -3345,7 +3345,7 @@ def override[F: _Func](method: F, /) -> F:
|
|||
Usage::
|
||||
|
||||
class Base:
|
||||
def method(self) -> None: ...
|
||||
def method(self) -> None:
|
||||
pass
|
||||
|
||||
class Child(Base):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue