File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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):
285285def _eval_type (t , globalns , localns , recursive_guard = frozenset ()):
286286 """Evaluate all forward references in the given type t.
287287 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.
290290 """
291291 if isinstance (t , ForwardRef ):
292292 return t ._evaluate (globalns , localns , recursive_guard )
@@ -705,7 +705,7 @@ def __mro_entries__(self, bases):
705705
706706 def __getattr__ (self , attr ):
707707 # 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
709709 if '__origin__' in self .__dict__ and not _is_dunder (attr ):
710710 return getattr (self .__origin__ , attr )
711711 raise AttributeError (attr )
You can’t perform that action at this time.
0 commit comments