Commit 5ed262b7 authored by Armin Rigo's avatar Armin Rigo

Typo in a code example.

parent de5f05f3
...@@ -44,7 +44,7 @@ the \function{int} function where the \var{base} argument defaults to ...@@ -44,7 +44,7 @@ the \function{int} function where the \var{base} argument defaults to
two: two:
\begin{verbatim} \begin{verbatim}
>>> basetwo = partial(int, base=2) >>> basetwo = partial(int, base=2)
>>> basetwo.__doc__('Convert base 2 string to an int.') >>> basetwo.__doc__ = 'Convert base 2 string to an int.'
>>> basetwo('10010') >>> basetwo('10010')
18 18
\end{verbatim} \end{verbatim}
......
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