File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -285,8 +285,8 @@ def inner(*args, **kwds):
285
285
def _eval_type (t , globalns , localns , recursive_guard = frozenset ()):
286
286
"""Evaluate all forward references in the given type t.
287
287
For use of globalns and localns see the docstring for get_type_hints().
288
- recursive_guard is used to prevent prevent infinite recursion
289
- with recursive ForwardRef.
288
+ recursive_guard is used to prevent infinite recursion with a recursive
289
+ ForwardRef.
290
290
"""
291
291
if isinstance (t , ForwardRef ):
292
292
return t ._evaluate (globalns , localns , recursive_guard )
@@ -705,7 +705,7 @@ def __mro_entries__(self, bases):
705
705
706
706
def __getattr__ (self , attr ):
707
707
# We are careful for copy and pickle.
708
- # Also for simplicity we just don't relay all dunder names
708
+ # Also for simplicity we don't relay any dunder names
709
709
if '__origin__' in self .__dict__ and not _is_dunder (attr ):
710
710
return getattr (self .__origin__ , attr )
711
711
raise AttributeError (attr )
You can’t perform that action at this time.
0 commit comments