]> granicus.if.org Git - python/commitdiff
Fix indent
authorGuido van Rossum <guido@python.org>
Fri, 21 Oct 2016 21:30:50 +0000 (14:30 -0700)
committerGuido van Rossum <guido@python.org>
Fri, 21 Oct 2016 21:30:50 +0000 (14:30 -0700)
Lib/typing.py

index 188c94e5ee8214a4eac944c200af4888e31f21b7..5761693401833e4540a745944317b8f53d83a7b6 100644 (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)