Commit 456ff916 authored by Edward Loper's avatar Edward Loper

- Fixed typo in multi-line exception example

- Fixed indentation for a verbatim block
parent 36ee8ce3
......@@ -1699,10 +1699,10 @@ the synthesized code under the debugger:
\function{script_from_examples()} above. For example, if module
\file{a.py} contains a top-level function \function{f()}, then
\begin{verbatim}
import a, doctest
print doctest.testsource(a, "a.f")
\end{verbatim}
\begin{verbatim}
import a, doctest
print doctest.testsource(a, "a.f")
\end{verbatim}
prints a script version of function \function{f()}'s docstring,
with doctests converted to code, and the rest placed in comments.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment