Reinhold Kainhofer escreveu:
> Next round of patches: After Han-Wens comments about coding style (no
> exceptions, spaces, etc.), I reworked all my patches so far. Here they are
> all again:
Thanks, I've applied them now.
Some minor comments; I would appreciate if you address them before sending more
patches.
{}.get
takes a default argument, so
f = dict.get(key)
if f:
return f
else:
return ''
can be shorter written as
return dict.get(key, '')
- not):
+ # +tied | +slur | +tuplet | glissando | slide |
+ # ornaments | technical | articulations | dynamics |
+ # +fermata | arpeggiate | non-arpeggiate |
+ # accidental-mark | other-notation
can you put indents inside the comments,
# foo
# bar
+ if wedgetypeval != None:
better:
if wedgetypeval:
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel