From: Armin Rigo Date: Tue, 6 Dec 2005 18:32:37 +0000 (+0000) Subject: Typo in a code example. X-Git-Tag: v2.5a0~1064 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ed262b7de5661dd71fad5e4e0f417a56acfc6eb;p=thirdparty%2FPython%2Fcpython.git Typo in a code example. --- diff --git a/Doc/lib/libfunctional.tex b/Doc/lib/libfunctional.tex index 367eeefbea27..9218454fe3e4 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}