Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f5c654

Browse files
committed
fix markup nit, typo
1 parent 6bd8e84 commit 3f5c654

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/whatsnew24.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ \section{PEP 318: Decorators for Functions, Methods and Classes}
214214
friends are storing additional information on a function object; they're
215215
\emph{decorating} functions with more details.
216216

217-
The notation borrows from Java and uses the \samp{@} character as an
217+
The notation borrows from Java and uses the \character{@} character as an
218218
indicator. Using the new syntax, the example above would be written:
219219

220220
\begin{verbatim}
@@ -227,7 +227,7 @@ \section{PEP 318: Decorators for Functions, Methods and Classes}
227227
\end{verbatim}
228228

229229
The \code{@classmethod} is shorthand for the
230-
\code{meth=classmethod(meth} assignment. More generally, if you have
230+
\code{meth=classmethod(meth)} assignment. More generally, if you have
231231
the following:
232232

233233
\begin{verbatim}

0 commit comments

Comments
 (0)