From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:32:47 +0000 (+0100) Subject: [3.12] GH-112152: Fix typo in `typing.override` docstring (GH-112158) (#112162) X-Git-Tag: v3.12.1~119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=458a3c02e5734216af455172b35fa5ab96c9cfd4;p=thirdparty%2FPython%2Fcpython.git [3.12] GH-112152: Fix typo in `typing.override` docstring (GH-112158) (#112162) GH-112152: Fix typo in `typing.override` docstring (GH-112158) (cherry picked from commit 12c7e9d573de57343cf018fb4e67521aba46c90f) Co-authored-by: Qua27 <92877777+Qua27@users.noreply.github.com> --- diff --git a/Lib/typing.py b/Lib/typing.py index 9e2adbe2214a..9c8f48eef66b 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -3364,7 +3364,7 @@ def override[F: _Func](method: F, /) -> F: Usage:: class Base: - def method(self) -> None: ... + def method(self) -> None: pass class Child(Base):