summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2016-10-21 21:30:50 (GMT)
committerGuido van Rossum <guido@python.org>2016-10-21 21:30:50 (GMT)
commit9f91e858ce64c93936c904ee522b3fcaefd159d4 (patch)
tree79cafc6bd282a43c8e4f4d9ccdf8c1acdc47d5d0 /Lib/typing.py
parent7ef22d6b96e22c12e06f36532af4133a8cc60b93 (diff)
downloadcpython-9f91e858ce64c93936c904ee522b3fcaefd159d4.zip
cpython-9f91e858ce64c93936c904ee522b3fcaefd159d4.tar.gz
cpython-9f91e858ce64c93936c904ee522b3fcaefd159d4.tar.bz2
Fix indent
Diffstat (limited to 'Lib/typing.py')
-rw-r--r--Lib/typing.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/typing.py b/Lib/typing.py
index 188c94e..5761693 100644
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -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)