Commit b7273fe7 authored by Guido van Rossum's avatar Guido van Rossum

Fix indent

parent 988a9658
...@@ -893,9 +893,9 @@ def _replace_arg(arg, tvars, args): ...@@ -893,9 +893,9 @@ def _replace_arg(arg, tvars, args):
if hasattr(arg, '_subs_repr'): if hasattr(arg, '_subs_repr'):
return arg._subs_repr(tvars, args) return arg._subs_repr(tvars, args)
if isinstance(arg, TypeVar): if isinstance(arg, TypeVar):
for i, tvar in enumerate(tvars): for i, tvar in enumerate(tvars):
if arg.__name__ == tvar.__name__: if arg.__name__ == tvar.__name__:
return args[i] return args[i]
return _type_repr(arg) return _type_repr(arg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment