Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libfunctional.tex @ 35995:b77edcee888c legacy-trunk
Typo in a code example.
| author | Armin Rigo <arigo@tunes.org> |
|---|---|
| date | Tue, 06 Dec 2005 18:32:37 +0000 |
| parents | fc442c2eb0cf |
| children |
line wrap: on
line diff
--- a/Doc/lib/libfunctional.tex Tue Dec 06 14:07:39 2005 +0000 +++ b/Doc/lib/libfunctional.tex Tue Dec 06 18:32:37 2005 +0000 @@ -44,7 +44,7 @@ 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}
