]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] Fix typo in typing.py (GH-22121) (GH-22158)
authorMariatta <Mariatta@users.noreply.github.com>
Tue, 8 Sep 2020 23:28:02 +0000 (16:28 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Sep 2020 23:28:02 +0000 (16:28 -0700)
This is a trivial PR to fix a typo in a docstring in typing.py. From reverences -> references.
(cherry picked from commit 84ef33c5117acd9867781135a9aeb62052432e8a)

Co-authored-by: Graham Bleaney <gbleaney@gmail.com>
Automerge-Triggered-By: @Mariatta
Lib/typing.py

index 589eea98ad31c6ffd2affc179166069646172345..4ec538da00a60d43da24fd28e851b6c21f22d2d9 100644 (file)
@@ -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):