Add missing square bracket in typing.get_type_hints()

This commit is contained in:
Berker Peksag 2016-11-25 20:10:07 +03:00
parent 219a012156
commit 4931122de8

View File

@ -733,7 +733,7 @@ The module defines the following classes, functions and decorators:
runtime we intentionally don't check anything (we want this runtime we intentionally don't check anything (we want this
to be as fast as possible). 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 Return a dictionary containing type hints for a function, method, module
or class object. or class object.