mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Remove more '<>' usage.
This commit is contained in:
parent
553a0296e9
commit
db60d6e2aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue