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 @@ -320,8 +320,8 @@ def inner(*args, **kwds):
320320def _eval_type (t , globalns , localns , recursive_guard = frozenset ()):
321321 """Evaluate all forward references in the given type t.
322322 For use of globalns and localns see the docstring for get_type_hints().
323- recursive_guard is used to prevent prevent infinite recursion
324- with recursive ForwardRef.
323+ recursive_guard is used to prevent infinite recursion with a recursive
324+ ForwardRef.
325325 """
326326 if isinstance (t , ForwardRef ):
327327 return t ._evaluate (globalns , localns , recursive_guard )
@@ -976,7 +976,7 @@ def __getattr__(self, attr):
976976 return self ._name or self .__origin__ .__name__
977977
978978 # We are careful for copy and pickle.
979- # Also for simplicity we just don't relay all dunder names
979+ # Also for simplicity we don't relay any dunder names
980980 if '__origin__' in self .__dict__ and not _is_dunder (attr ):
981981 return getattr (self .__origin__ , attr )
982982 raise AttributeError (attr )
You can’t perform that action at this time.
0 commit comments