Fix typo in typing.py (GH-22121)

This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references
This commit is contained in:
Graham Bleaney 2020-09-08 18:41:10 -04:00 committed by GitHub
parent 3fd69991f4
commit 84ef33c511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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