[Python-3000-checkins] r51590 - python/branches/p3yk/Modules/cgen.py
brett.cannon
python-3000-checkins at python.org
Fri Aug 25 04:57:28 CEST 2006
Author: brett.cannon
Date: Fri Aug 25 04:57:28 2006
New Revision: 51590
Modified:
python/branches/p3yk/Modules/cgen.py
Log:
Remove more '<>' usage.
Modified: python/branches/p3yk/Modules/cgen.py
==============================================================================
--- python/branches/p3yk/Modules/cgen.py (original)
+++ python/branches/p3yk/Modules/cgen.py Fri Aug 25 04:57:28 2006
@@ -148,7 +148,7 @@
# 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]
#
More information about the Python-3000-checkins
mailing list