Op woensdag 18 juni 2008, schreef Carl D. Sorensen:
> for i in fret-props:
> if re.search (i, str):
> stderr_write ('\n')
When you only look for plain strings (as is the case), you could write:
for i in fret_props:
if i in str:
stderr.write ... etc
best regards,
Wilbert Berendsen
--
LilyKDE, LilyPond for KDE: http://lilykde.googlecode.com/
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel
