summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-24 03:53:23 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-24 03:53:23 (GMT)
commitb053cd8f40dd19985b16f50661640dcefb69888f (patch)
tree88e1c2ce636a6df402a97c51ea9067a46735120a /Parser/tokenizer.c
parent01c77c66289f8e9c8d15b8da623fae4014ec2edb (diff)
downloadcpython-b053cd8f40dd19985b16f50661640dcefb69888f.zip
cpython-b053cd8f40dd19985b16f50661640dcefb69888f.tar.gz
cpython-b053cd8f40dd19985b16f50661640dcefb69888f.tar.bz2
Killed the <> operator. You must now use !=.
Opportunistically also fixed one or two places where '<> None' should be 'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r--Parser/tokenizer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 885b916..b734a12 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -982,7 +982,6 @@ PyToken_TwoChars(int c1, int c2)
break;
case '<':
switch (c2) {
- case '>': return NOTEQUAL;
case '=': return LESSEQUAL;
case '<': return LEFTSHIFT;
}