From: Fred Drake Date: Fri, 6 Aug 2004 03:34:20 +0000 (+0000) Subject: fix markup nit, typo X-Git-Tag: v2.4a3~399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f5c654deb15917b5868c8611894b1f962e7a005;p=python fix markup nit, typo --- diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 707527f4e0..b61caa73e9 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -214,7 +214,7 @@ the idea that \function{classmethod}, \function{staticmethod}, and friends are storing additional information on a function object; they're \emph{decorating} functions with more details. -The notation borrows from Java and uses the \samp{@} character as an +The notation borrows from Java and uses the \character{@} character as an indicator. Using the new syntax, the example above would be written: \begin{verbatim} @@ -227,7 +227,7 @@ class C: \end{verbatim} The \code{@classmethod} is shorthand for the -\code{meth=classmethod(meth} assignment. More generally, if you have +\code{meth=classmethod(meth)} assignment. More generally, if you have the following: \begin{verbatim}