mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +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 @@ def msg(str):
|
|||
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