Browse Source

Add missing square bracket in typing.get_type_hints()

pull/40/head
Berker Peksag 10 years ago
parent
commit
4931122de8
  1. 2
      Doc/library/typing.rst

2
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.

Loading…
Cancel
Save