xref: /third_party/python/Misc/vgrindefs (revision 7db96d56)
17db96d56Sopenharmony_ci# vgrind is a pretty-printer that takes source code and outputs
27db96d56Sopenharmony_ci# eye-pleasing postscript.  The entry below should be added to your
37db96d56Sopenharmony_ci# local vgrindefs file.  Contributed by Neale Pickett <neale@lanl.gov>.
47db96d56Sopenharmony_ci
57db96d56Sopenharmony_cipython|Python|py:\
67db96d56Sopenharmony_ci        :pb=^\d?(def|class)\d\p(\d|\\|\(|\:):\
77db96d56Sopenharmony_ci        :cb=#:ce=$:sb=":se=\e":lb=':le=\e':\
87db96d56Sopenharmony_ci        :kw=assert and break class continue def del elif else except\
97db96d56Sopenharmony_ci         finally for from global if import in is lambda not or\
107db96d56Sopenharmony_ci         pass print raise return try while yield:
11