Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3f5c654d
Commit
3f5c654d
authored
Aug 06, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix markup nit, typo
parent
6bd8e842
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+2
-2
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
3f5c654d
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment