New == syntax

This commit is contained in:
Guido van Rossum 1992-01-01 19:35:13 +00:00
parent 4d8e859e8f
commit bdfcfccbe5
73 changed files with 419 additions and 391 deletions

View file

@ -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 '