diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 2446b4b8f08..2bac6f86721 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -754,7 +754,7 @@ The module defines the following classes, functions and decorators: runtime we intentionally don't check anything (we want this to be as fast as possible). -.. function:: get_type_hints(obj[, globals[, locals]) +.. function:: get_type_hints(obj[, globals[, locals]]) Return a dictionary containing type hints for a function, method, module or class object.