mirror of https://github.com/python/cpython
GH-112152: Fix typo in `typing.override` docstring (#112158)
This commit is contained in:
parent
bd89bca9e2
commit
12c7e9d573
|
@ -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…
Reference in New Issue