diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-11-25 17:10:07 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-11-25 17:10:07 (GMT) |
commit | 4931122de80c6e7f14162ecc9c37b650a4a01a4a (patch) | |
tree | e3eae8a243ba7a1682fbe67733fa2f58dc09f14e /Doc/library/typing.rst | |
parent | 219a012156e198ea5601a26d6e9a31f25ab98b70 (diff) | |
download | cpython-4931122de80c6e7f14162ecc9c37b650a4a01a4a.zip cpython-4931122de80c6e7f14162ecc9c37b650a4a01a4a.tar.gz cpython-4931122de80c6e7f14162ecc9c37b650a4a01a4a.tar.bz2 |
Add missing square bracket in typing.get_type_hints()
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 2 |
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. |