[Python-checkins] cpython (3.5): Add missing square bracket in typing.get_type_hints()

berker.peksag python-checkins at python.org
Fri Nov 25 12:10:27 EST 2016


https://hg.python.org/cpython/rev/18394c3c9640
changeset:   105367:18394c3c9640
branch:      3.5
parent:      105364:dddce0f539dd
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Fri Nov 25 20:10:07 2016 +0300
summary:
  Add missing square bracket in typing.get_type_hints()

files:
  Doc/library/typing.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst
--- a/Doc/library/typing.rst
+++ b/Doc/library/typing.rst
@@ -733,7 +733,7 @@
    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.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list