summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/transformer.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-02-08 19:58:33 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-02-08 19:58:33 (GMT)
commit1851901a05201a2c34b35adb23fcb9da8a5fdb9f (patch)
treef51abb95b41aae3d5a26e2700644fb09638bf572 /Lib/compiler/transformer.py
parent53187f32ebbb6156fa8e3ddf834dfde74cfa3208 (diff)
downloadcpython-1851901a05201a2c34b35adb23fcb9da8a5fdb9f.zip
cpython-1851901a05201a2c34b35adb23fcb9da8a5fdb9f.tar.gz
cpython-1851901a05201a2c34b35adb23fcb9da8a5fdb9f.tar.bz2
add spaces to comparison names is not and not in to match dis
Diffstat (limited to 'Lib/compiler/transformer.py')
-rw-r--r--Lib/compiler/transformer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py
index 42d34dc..b85b498 100644
--- a/Lib/compiler/transformer.py
+++ b/Lib/compiler/transformer.py
@@ -555,9 +555,9 @@ class Transformer:
type = n[1]
if len(nl) == 3:
if type == 'not':
- type = 'notin'
+ type = 'not in'
else:
- type = 'isnot'
+ type = 'is not'
else:
type = _cmp_types[n[0]]