summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQua27 <92877777+Qua27@users.noreply.github.com>2023-11-16 15:16:04 (GMT)
committerGitHub <noreply@github.com>2023-11-16 15:16:04 (GMT)
commit12c7e9d573de57343cf018fb4e67521aba46c90f (patch)
tree773f5598219751675bba21d1b70135c996e1268b
parentbd89bca9e2a57779c251ee6fadf4887acb364824 (diff)
downloadcpython-12c7e9d573de57343cf018fb4e67521aba46c90f.zip
cpython-12c7e9d573de57343cf018fb4e67521aba46c90f.tar.gz
cpython-12c7e9d573de57343cf018fb4e67521aba46c90f.tar.bz2
GH-112152: Fix typo in `typing.override` docstring (#112158)
-rw-r--r--Lib/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index 14845b3..3493257 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -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):