\documentclass{article}

\begin{document}
\python=This verb contains an unmatched $=
\end{document}

% Local Variables:
% LaTeX-verbatim-macros-with-delims-local: ("python")
% End:
