From e4d9d8bcb674a78ce3beb288c465d8e3648b534f Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Wed, 29 Nov 2023 17:28:51 +0000 Subject: [PATCH] fix typo in `override()` docstring (#305) backport of https://github.com/python/cpython/commit/12c7e9d573de57343cf018fb4e67521aba46c90f --- src/typing_extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/typing_extensions.py b/src/typing_extensions.py index 8730173b..f85b0aa1 100644 --- a/src/typing_extensions.py +++ b/src/typing_extensions.py @@ -2252,7 +2252,7 @@ def override(arg: _F, /) -> _F: Usage: class Base: - def method(self) -> None: ... + def method(self) -> None: pass class Child(Base):