From a350935361f9d0f9bcdaa18b810b995b63385b89 Mon Sep 17 00:00:00 2001 From: Diego Garcia Date: Tue, 8 Dec 2020 11:28:06 -0300 Subject: [PATCH] Fix wrong `typing.Callable` import on docs --- 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 b07bb8943d16fd..6c3a3fbabaac5d 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -158,7 +158,7 @@ type hinted using ``Callable[[Arg1Type, Arg2Type], ReturnType]``. For example:: - from collections.abc import Callable + from typing import Callable def feeder(get_next_item: Callable[[], str]) -> None: # Body