[3.8] Fix typo in typing.py (GH-22121) (GH-22158)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references.
(cherry picked from commit 84ef33c511
)
Co-authored-by: Graham Bleaney <gbleaney@gmail.com>
Automerge-Triggered-By: @Mariatta
This commit is contained in:
parent
3cb5073773
commit
7799dd38e7
|
@ -263,7 +263,7 @@ def _tp_cache(func):
|
|||
|
||||
|
||||
def _eval_type(t, globalns, localns):
|
||||
"""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().
|
||||
"""
|
||||
if isinstance(t, ForwardRef):
|
||||
|
|
Loading…
Reference in New Issue