0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 01:16:51 +01:00
cpython/Misc/vgrindefs

11 lines
500 B
Plaintext
Raw Normal View History

# vgrind is a pretty-printer that takes source code and outputs
1997-11-07 20:57:54 +01:00
# eye-pleasing postscript. The entry below should be added to your
# local vgrindefs file. Contributed by Neale Pickett <neale@lanl.gov>.
1997-11-07 20:57:54 +01:00
python|Python|py:\
:pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
1997-11-07 20:57:54 +01:00
:cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
:kw=assert and break class continue def del elif else except\
2006-09-06 08:51:57 +02:00
finally for from global if import in is lambda not or\
pass print raise return try while yield: