summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-11-25 20:10:07 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-11-25 20:10:07 +0300
commit4931122de80c6e7f14162ecc9c37b650a4a01a4a (patch)
treee3eae8a243ba7a1682fbe67733fa2f58dc09f14e
parent219a012156e198ea5601a26d6e9a31f25ab98b70 (diff)
downloadcpython-git-4931122de80c6e7f14162ecc9c37b650a4a01a4a.tar.gz
Add missing square bracket in typing.get_type_hints()
-rw-r--r--Doc/library/typing.rst2
1 files changed, 1 insertions, 1 deletions
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.