Fix indent (merge)

This commit is contained in:
Guido van Rossum 2016-10-21 14:31:18 -07:00
commit 2ae0d64471
1 changed files with 3 additions and 3 deletions

View File

@ -893,9 +893,9 @@ def _replace_arg(arg, tvars, args):
if hasattr(arg, '_subs_repr'):
return arg._subs_repr(tvars, args)
if isinstance(arg, TypeVar):
for i, tvar in enumerate(tvars):
if arg.__name__ == tvar.__name__:
return args[i]
for i, tvar in enumerate(tvars):
if arg.__name__ == tvar.__name__:
return args[i]
return _type_repr(arg)