summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-08-06 03:34:20 (GMT)
committerFred Drake <fdrake@acm.org>2004-08-06 03:34:20 (GMT)
commit3f5c654deb15917b5868c8611894b1f962e7a005 (patch)
tree921de5082f2dc25dd134237b22acbbbce4c584ed /Doc
parent6bd8e842e4d95c001554b034a73bfaa356ef7b83 (diff)
downloadcpython-3f5c654deb15917b5868c8611894b1f962e7a005.zip
cpython-3f5c654deb15917b5868c8611894b1f962e7a005.tar.gz
cpython-3f5c654deb15917b5868c8611894b1f962e7a005.tar.bz2
fix markup nit, typo
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/whatsnew24.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index 707527f..b61caa7 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}