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

This commit is contained in:
Jeremy Hylton 2000-02-08 19:58:33 +00:00
parent 53187f32eb
commit 1851901a05
2 changed files with 4 additions and 4 deletions

View File

@ -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]]

View File

@ -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]]