[Python-checkins] cpython (merge 3.6 -> default): Fix indent (merge)
guido.van.rossum
python-checkins at python.org
Fri Oct 21 17:32:05 EDT 2016
https://hg.python.org/cpython/rev/f1a154e59323
changeset: 104628:f1a154e59323
parent: 104625:ac4082ef109e
parent: 104627:60a57f15fb86
user: Guido van Rossum <guido at python.org>
date: Fri Oct 21 14:31:37 2016 -0700
summary:
Fix indent (merge)
files:
Lib/typing.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Lib/typing.py b/Lib/typing.py
--- a/Lib/typing.py
+++ b/Lib/typing.py
@@ -893,9 +893,9 @@
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)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list