summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2005-12-06 18:32:37 (GMT)
committerArmin Rigo <arigo@tunes.org>2005-12-06 18:32:37 (GMT)
commit5ed262b7de5661dd71fad5e4e0f417a56acfc6eb (patch)
tree5a3fd62a977dd0a9ca21f99a9b5c6e063c85d2e5
parentde5f05f3b1ce9f899c65d17f1097270ca66c200a (diff)
downloadcpython-5ed262b7de5661dd71fad5e4e0f417a56acfc6eb.zip
cpython-5ed262b7de5661dd71fad5e4e0f417a56acfc6eb.tar.gz
cpython-5ed262b7de5661dd71fad5e4e0f417a56acfc6eb.tar.bz2
Typo in a code example.
-rw-r--r--Doc/lib/libfunctional.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libfunctional.tex b/Doc/lib/libfunctional.tex
index 367eeef..9218454 100644
--- a/Doc/lib/libfunctional.tex
+++ b/Doc/lib/libfunctional.tex
@@ -44,7 +44,7 @@ the \function{int} function where the \var{base} argument defaults to
two:
\begin{verbatim}
>>> 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')
18
\end{verbatim}