summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixes/fix_idioms.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib2to3/fixes/fix_idioms.py')
-rw-r--r--Lib/lib2to3/fixes/fix_idioms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib2to3/fixes/fix_idioms.py b/Lib/lib2to3/fixes/fix_idioms.py
index e2f937b..2ca2a83 100644
--- a/Lib/lib2to3/fixes/fix_idioms.py
+++ b/Lib/lib2to3/fixes/fix_idioms.py
@@ -5,7 +5,7 @@
type(x) is T -> isinstance(x, T)
type(x) != T -> not isinstance(x, T)
type(x) is not T -> not isinstance(x, T)
-
+
* Change "while 1:" into "while True:".
* Change both
@@ -19,7 +19,7 @@ and the more general
v = EXPR
v.sort()
foo(v)
-
+
into
v = sorted(EXPR)