Staging
v0.8.1
https://github.com/python/cpython
Revision f7363ed8ef8e3a7a8f5d3f39e244c1b8e14d9005 authored by Benjamin Peterson on 25 November 2014, 22:12:32 UTC, committed by Benjamin Peterson on 25 November 2014, 22:12:32 UTC
1 parent 69a64d3
Raw File
Tip revision: f7363ed8ef8e3a7a8f5d3f39e244c1b8e14d9005 authored by Benjamin Peterson on 25 November 2014, 22:12:32 UTC
use more ugly but hopefully more robust method
Tip revision: f7363ed
vgrindefs
# vgrind is a pretty-printer that takes source code and outputs
# eye-pleasing postscript.  The entry below should be added to your
# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.

python|Python|py:\
        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
        :kw=assert and 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 yield:
back to top