[Python-checkins] Fix typo in typing.py (GH-22121)

Graham Bleaney webhook-mailer at python.org
Tue Sep 15 02:25:07 EDT 2020


https://github.com/python/cpython/commit/84ef33c5117acd9867781135a9aeb62052432e8a
commit: 84ef33c5117acd9867781135a9aeb62052432e8a
branch: master
author: Graham Bleaney <gbleaney at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-09-08T15:41:10-07:00
summary:

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

files:
M Lib/typing.py

diff --git a/Lib/typing.py b/Lib/typing.py
index fce8da4fe3cf0..2899a0213d434 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -245,7 +245,7 @@ def inner(*args, **kwds):
 
 
 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.



More information about the Python-checkins mailing list