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