mirror of https://github.com/python/cpython
[Patch #1005465] Markup tweaks
This commit is contained in:
parent
e236b38731
commit
24884a5ccc
|
@ -126,7 +126,7 @@ class C:
|
|||
Class methods are different than \Cpp{} or Java static methods.
|
||||
If you want those, see \function{staticmethod()} in this section.
|
||||
\versionadded{2.2}
|
||||
Function decorator syntax added in version 2.4.
|
||||
\versionchanged[Function decorator syntax added]{2.4}
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{cmp}{x, y}
|
||||
|
@ -958,6 +958,7 @@ class C:
|
|||
For a more advanced concept, see \function{classmethod()} in this
|
||||
section.
|
||||
\versionadded{2.2}
|
||||
\versionchanged[Function decorator syntax added]{2.4}
|
||||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{str}{\optional{object}}
|
||||
|
|
Loading…
Reference in New Issue