Anyone know about lgrind?
Mark Jackson
mjackson at wc.eso.mc.xerox.com
Fri Aug 20 16:53:46 EDT 1999
mlh at idt.ntnu.no (Magnus L. Hetland) writes:
> Does anyone here know enough about how lgrind works to make it work
> with Python? Has anyone done this?
Never heard of it. But the lgrindefs entry on the Beta web page
suggests that the format is common with vgrind, so try this:
# attempts to treat long strings as comments; doesn't work, but doesn't seem to hurt
Python|python|py:\
:pb=(^\d?class\d\p\d?\:)|(^\d?def\d\p\d?\():\
:tl:\
:cb=#:ce=$:\
:ab="""|''':ae="""|''':\
:sb=":se=\e":\
:lb=':le=\e':\
:kw=and assert break class continue def del elif else except exec\
finally for from global if import in is lambda not or pass print\
raise return try while:
More information about the Python-list
mailing list