diff options
-rw-r--r-- | Lib/compiler/transformer.py | 4 | ||||
-rw-r--r-- | Tools/compiler/compiler/transformer.py | 4 |
2 files changed, 4 insertions, 4 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]] diff --git a/Tools/compiler/compiler/transformer.py b/Tools/compiler/compiler/transformer.py index 42d34dc..b85b498 100644 --- a/Tools/compiler/compiler/transformer.py +++ b/Tools/compiler/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]] |