From 93a47d7c3c089c6167eea95ac4a5a44e730b270e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 7 Nov 1997 19:57:54 +0000 Subject: [PATCH] Plucked this from the net. --- Misc/vgrindefs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Misc/vgrindefs diff --git a/Misc/vgrindefs b/Misc/vgrindefs new file mode 100644 index 00000000000..700ee66d9b0 --- /dev/null +++ b/Misc/vgrindefs @@ -0,0 +1,10 @@ +# vgrind is a prety-printer that takes source code and outputs +# eye-pleasing postscript. The entry below should be added to your +# local vgrindefs file. + +python|Python|py:\ + :pb=^\d?(def|class)\d\p(\d|\():\ + :cb=#:ce=$: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: