commit | 1851901a05201a2c34b35adb23fcb9da8a5fdb9f | [log] [tgz] |
---|---|---|
author | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Feb 08 19:58:33 2000 +0000 |
committer | Jeremy Hylton <jeremy@alum.mit.edu> | Tue Feb 08 19:58:33 2000 +0000 |
tree | f51abb95b41aae3d5a26e2700644fb09638bf572 | |
parent | 53187f32ebbb6156fa8e3ddf834dfde74cfa3208 [diff] [blame] |
add spaces to comparison names is not and not in to match dis
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 @@ 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]]