From 4931122de80c6e7f14162ecc9c37b650a4a01a4a Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 25 Nov 2016 20:10:07 +0300 Subject: Add missing square bracket in typing.get_type_hints() --- 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 0316f01..923cbb8 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. -- cgit v0.12