mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
New == syntax
This commit is contained in:
parent
4d8e859e8f
commit
bdfcfccbe5
73 changed files with 419 additions and 391 deletions
|
@ -23,7 +23,7 @@ for prog in sys.argv[1:]:
|
|||
mode = S_IMODE(st[ST_MODE])
|
||||
if mode % 2 or mode/8 % 2 or mode/64 % 2:
|
||||
if ident:
|
||||
if st[:3] = ident:
|
||||
if st[:3] == ident:
|
||||
s = ': same as '
|
||||
else:
|
||||
s = ': also '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue