]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-112152: Fix typo in `typing.override` docstring (#112158)
authorQua27 <92877777+Qua27@users.noreply.github.com>
Thu, 16 Nov 2023 15:16:04 +0000 (18:16 +0300)
committerGitHub <noreply@github.com>
Thu, 16 Nov 2023 15:16:04 +0000 (15:16 +0000)
Lib/typing.py

index 14845b36028ca12b7f2d07cd1cba875341383287..3493257677c7ff5d9f5f43909d24963388a32b70 100644 (file)
@@ -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):