Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db60d6e

Browse files
committed
Remove more '<>' usage.
1 parent 553a029 commit db60d6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/cgen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def checkarg(type, arg):
148148
# N*argN
149149
# N*retval
150150
#
151-
if rest[:1] <> '[' or rest[-1:] <> ']':
151+
if rest[:1] != '[' or rest[-1:] != ']':
152152
raise arg_error, ('subscript expected', rest)
153153
sub = rest[1:-1]
154154
#

0 commit comments

Comments
 (0)