]> granicus.if.org Git - python/commitdiff
Add missing square bracket in typing.get_type_hints()
authorBerker Peksag <berker.peksag@gmail.com>
Fri, 25 Nov 2016 17:10:07 +0000 (20:10 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Fri, 25 Nov 2016 17:10:07 +0000 (20:10 +0300)
Doc/library/typing.rst

index 0316f0195862f86c47deee0e3544ce301cd02cfd..923cbb8da97c9a901ce90b08803ba653a3f11283 100644 (file)
@@ -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.