Skip to content

Commit 4931122

Browse files
committed
Add missing square bracket in typing.get_type_hints()
1 parent 219a012 commit 4931122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ The module defines the following classes, functions and decorators:
733733
runtime we intentionally don't check anything (we want this
734734
to be as fast as possible).
735735

736-
.. function:: get_type_hints(obj[, globals[, locals])
736+
.. function:: get_type_hints(obj[, globals[, locals]])
737737

738738
Return a dictionary containing type hints for a function, method, module
739739
or class object.

0 commit comments

Comments
 (0)