[Tutor] Is there a better way ?

Kalle Svensson kalle at lysator.liu.se
Thu May 20 15:22:27 EDT 2004


[Dave S]
> Is there a neater way of saying ...
> 
> syncerr=False
> if 'SyncErr' in file:
>    syncerr=True

  syncerr = 'SyncErr' in file

Peace,
  Kalle
-- 
Kalle Svensson, http://www.juckapan.org/~kalle/
Student, root and saint in the Church of Emacs.



More information about the Tutor mailing list