Skip to content

Commit 6e770fc

Browse files
[3.9] Fix typo in typing.py (GH-22121) (GH-22156)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references (cherry picked from commit 84ef33c) Co-authored-by: Graham Bleaney <[email protected]>
1 parent 1671b0e commit 6e770fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def inner(*args, **kwds):
245245

246246

247247
def _eval_type(t, globalns, localns, recursive_guard=frozenset()):
248-
"""Evaluate all forward reverences in the given type t.
248+
"""Evaluate all forward references in the given type t.
249249
For use of globalns and localns see the docstring for get_type_hints().
250250
recursive_guard is used to prevent prevent infinite recursion
251251
with recursive ForwardRef.

0 commit comments

Comments
 (0)