##// END OF EJS Templates
only check for formatters on instances...
only check for formatters on instances use inspect.isclass to disallow unbound methods, not type checking on the method itself

File last commit:

r18580:ba8461eb
r19026:7658e7aa
Show More
style_python.tplx
21 lines | 594 B | text/plain | TextLexer
Jonathan Frederic
Added python style
r12713 ((= Python input/output style =))
Thomas Kluyver
Remove magic for loading templates from module names
r13925 ((*- extends 'base.tplx' -*))
Jonathan Frederic
Added python style
r12713
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
Jonathan Frederic
s/pygment/pygments
r12742 ((( resources.latex.pygments_definitions )))
Jonathan Frederic
Added python style
r12713 ((* endblock definitions *))
Jonathan Frederic
Cleanup code spacing
r12714
Jonathan Frederic
Added python style
r12713 %===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
MinRK
update nbconvert to nbformat 4
r18580 ((( cell.source | highlight_code(strip_verbatim=True) | add_prompts )))
Jonathan Frederic
Added python style
r12713 \end{Verbatim}
((* endblock input *))