]> granicus.if.org Git - python/commitdiff
Typo in a code example.
authorArmin Rigo <arigo@tunes.org>
Tue, 6 Dec 2005 18:32:37 +0000 (18:32 +0000)
committerArmin Rigo <arigo@tunes.org>
Tue, 6 Dec 2005 18:32:37 +0000 (18:32 +0000)
Doc/lib/libfunctional.tex

index 367eeefbea27347d9a2fc213dd219ee148a640cb..9218454fe3e43e1b50c0a064565ddaa76d19f267 100644 (file)
@@ -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}