]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused `Any` from `Concatenate` example in typing docs (GH-30516)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Jan 2022 14:21:40 +0000 (06:21 -0800)
committerGitHub <noreply@github.com>
Tue, 11 Jan 2022 14:21:40 +0000 (06:21 -0800)
(cherry picked from commit 73decdf0214c3ca931c22889734758acf5e65dd7)

Co-authored-by: Michael Oliver <michaeloliver__@outlook.com>
Doc/library/typing.rst

index 29bdb80ad22c688bc37f8730f8f672ab0121776c..929749bc0b341636f4fb9a83ef876fbb887da615 100644 (file)
@@ -737,7 +737,7 @@ These can be used as types in annotations using ``[]``, each having a unique syn
 
       from collections.abc import Callable
       from threading import Lock
-      from typing import Any, Concatenate, ParamSpec, TypeVar
+      from typing import Concatenate, ParamSpec, TypeVar
 
       P = ParamSpec('P')
       R = TypeVar('R')