summaryrefslogtreecommitdiffstats
path: root/Modules/cgen.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-08-25 02:57:28 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-08-25 02:57:28 (GMT)
commitdb60d6e2aa45fdc9f5f560847238a120e8a34f04 (patch)
tree8feb2b7aac612d69088c30ef609f4d91acf07df2 /Modules/cgen.py
parent553a0296e93ee387ee04b27b3ba408f33e63dc8b (diff)
downloadcpython-db60d6e2aa45fdc9f5f560847238a120e8a34f04.zip
cpython-db60d6e2aa45fdc9f5f560847238a120e8a34f04.tar.gz
cpython-db60d6e2aa45fdc9f5f560847238a120e8a34f04.tar.bz2
Remove more '<>' usage.
Diffstat (limited to 'Modules/cgen.py')
-rw-r--r--Modules/cgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cgen.py b/Modules/cgen.py
index f07d984..f28f85e 100644
--- a/Modules/cgen.py
+++ b/Modules/cgen.py
@@ -148,7 +148,7 @@ def checkarg(type, arg):
# N*argN
# N*retval
#
- if rest[:1] <> '[' or rest[-1:] <> ']':
+ if rest[:1] != '[' or rest[-1:] != ']':
raise arg_error, ('subscript expected', rest)
sub = rest[1:-1]
#