##// END OF EJS Templates
add prefer_stream arg to utils.encoding.getdefaultencoding...
add prefer_stream arg to utils.encoding.getdefaultencoding sometimes the stream encoding should be ignored, and start with locale (e.g. Popen on Windows Python 2). Default behavior is unchanged.

File last commit:

r13925:7a8be7be
r14695:bda2ad7d
Show More
style_python.tplx
21 lines | 594 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(strip_verbatim=True) | add_prompts )))
\end{Verbatim}
((* endblock input *))