summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-11-25 17:10:07 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-11-25 17:10:07 (GMT)
commit4931122de80c6e7f14162ecc9c37b650a4a01a4a (patch)
treee3eae8a243ba7a1682fbe67733fa2f58dc09f14e /Doc/library
parent219a012156e198ea5601a26d6e9a31f25ab98b70 (diff)
downloadcpython-4931122de80c6e7f14162ecc9c37b650a4a01a4a.zip
cpython-4931122de80c6e7f14162ecc9c37b650a4a01a4a.tar.gz
cpython-4931122de80c6e7f14162ecc9c37b650a4a01a4a.tar.bz2
Add missing square bracket in typing.get_type_hints()
Diffstat (limited to 'Doc/library')
-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 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.