fix markup nit, typo

This commit is contained in:
Fred Drake 2004-08-06 03:34:20 +00:00
parent 6bd8e842e4
commit 3f5c654deb
1 changed files with 2 additions and 2 deletions

View 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}