diff --git a/Doc/lib/libfunctional.tex b/Doc/lib/libfunctional.tex index 367eeefbea2..9218454fe3e 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}