Kaydet (Commit) 1851901a authored tarafından Jeremy Hylton's avatar Jeremy Hylton

add spaces to comparison names is not and not in to match dis

üst 53187f32
...@@ -555,9 +555,9 @@ class Transformer: ...@@ -555,9 +555,9 @@ class Transformer:
type = n[1] type = n[1]
if len(nl) == 3: if len(nl) == 3:
if type == 'not': if type == 'not':
type = 'notin' type = 'not in'
else: else:
type = 'isnot' type = 'is not'
else: else:
type = _cmp_types[n[0]] type = _cmp_types[n[0]]
......
...@@ -555,9 +555,9 @@ class Transformer: ...@@ -555,9 +555,9 @@ class Transformer:
type = n[1] type = n[1]
if len(nl) == 3: if len(nl) == 3:
if type == 'not': if type == 'not':
type = 'notin' type = 'not in'
else: else:
type = 'isnot' type = 'is not'
else: else:
type = _cmp_types[n[0]] type = _cmp_types[n[0]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment