From: Berker Peksag Date: Fri, 25 Nov 2016 17:10:07 +0000 (+0300) Subject: Add missing square bracket in typing.get_type_hints() X-Git-Tag: v3.6.0rc1~28^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4931122de80c6e7f14162ecc9c37b650a4a01a4a;p=python Add missing square bracket in typing.get_type_hints() --- diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 0316f01958..923cbb8da9 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -733,7 +733,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.