\end{funcdesc}
\begin{funcdesc}{classmethod}{function}
- \label{classmethod}
Return a class method for \var{function}.
A class method receives the class as implicit first argument,
object is passed as the implied first argument.
Class methods are different than C++ or Java static methods.
- If you want those, see \ref{staticmethod}.
+ If you want those, see \function{staticmethod} in this section.
\versionadded{2.2}
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}{staticmethod}{function}
- \label{staticmethod}
Return a static method for \var{function}.
A static method does not receive an implicit first argument.
for its class.
Static methods in Python are similar to those found in Java or C++.
- For a more advanced concept, see \ref{classmethod}.
+ For a more advanced concept, see \function{classmethod} in this section.
\versionadded{2.2}
\end{funcdesc}