##// END OF EJS Templates
add pickleutil.PICKLE_PROTOCOL...
add pickleutil.PICKLE_PROTOCOL instead of hardcoding `-1`. default to DEFAULT_PROTOCOL if defined (Python 3.4), and HIGHEST_PROTOCOL otherwise. Matches dill behavior

File last commit:

r15672:8a560994
r17044:65852b38
Show More
style_python.tplx
21 lines | 630 B | text/plain | TextLexer
((= Python input/output style =))
((*- extends 'base.tplx' -*))
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
((( resources.latex.pygments_definitions )))
((* endblock definitions *))
%===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
((( cell.input | highlight2latex(language=resources.get('language'), strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))