From da8c0759d2ad6eb70896fbd1e54b0f0d3402038d Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Jan 2022 06:21:40 -0800 Subject: Remove unused `Any` from `Concatenate` example in typing docs (GH-30516) (cherry picked from commit 73decdf0214c3ca931c22889734758acf5e65dd7) Co-authored-by: Michael Oliver --- Doc/library/typing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 29bdb80..929749b 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -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') -- cgit v0.12