]> granicus.if.org Git - python/commitdiff
fix markup nit, typo
authorFred Drake <fdrake@acm.org>
Fri, 6 Aug 2004 03:34:20 +0000 (03:34 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 6 Aug 2004 03:34:20 +0000 (03:34 +0000)
Doc/whatsnew/whatsnew24.tex

index 707527f4e0c79d7d7220bf7a7fcb5f877a34cdda..b61caa73e9eedc81c736b1e552b2c5c024709f2e 100644 (file)
@@ -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}