| Guido van Rossum | 93a47d7 | 1997-11-07 19:57:54 +0000 | [diff] [blame] | 1 | # vgrind is a prety-printer that takes source code and outputs |
| 2 | # eye-pleasing postscript. The entry below should be added to your | ||||
| 3 | # local vgrindefs file. | ||||
| 4 | |||||
| 5 | python|Python|py:\ | ||||
| 6 | :pb=^\d?(def|class)\d\p(\d|\():\ | ||||
| 7 | :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\ | ||||
| 8 | :kw=and assert break class continue def del elif else except exec \ | ||||
| 9 | finally for from global if import in is lambda not or pass print \ | ||||
| 10 | raise return try while: | ||||