From 5ed262b7de5661dd71fad5e4e0f417a56acfc6eb Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Tue, 6 Dec 2005 18:32:37 +0000 Subject: Typo in a code example. --- Doc/lib/libfunctional.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v0.12