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