Commit 29f345dc authored by Fred Drake's avatar Fred Drake

markup consistency nits

parent fb0ca212
...@@ -142,7 +142,7 @@ class C: ...@@ -142,7 +142,7 @@ class C:
object is passed as the implied first argument. object is passed as the implied first argument.
Class methods are different than C++ or Java static methods. Class methods are different than C++ or Java static methods.
If you want those, see \function{staticmethod} in this section. If you want those, see \function{staticmethod()} in this section.
\versionadded{2.2} \versionadded{2.2}
\end{funcdesc} \end{funcdesc}
...@@ -681,13 +681,13 @@ class C: ...@@ -681,13 +681,13 @@ class C:
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{object}{} \begin{funcdesc}{object}{}
Return a new featureless object. \function{object} is a base Return a new featureless object. \function{object()} is a base
for all new style classes. It has the methods that are common for all new style classes. It has the methods that are common
to all instances of new style classes. to all instances of new style classes.
\versionadded{2.2} \versionadded{2.2}
\versionchanged[This function does not accept any arguments. \versionchanged[This function does not accept any arguments.
Formerly, it accepted arguments but ignored them]{2.3} Formerly, it accepted arguments but ignored them]{2.3}
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{oct}{x} \begin{funcdesc}{oct}{x}
...@@ -916,8 +916,9 @@ class C: ...@@ -916,8 +916,9 @@ class C:
instance (such as \code{C().f()}). The instance is ignored except instance (such as \code{C().f()}). The instance is ignored except
for its class. for its class.
Static methods in Python are similar to those found in Java or C++. Static methods in Python are similar to those found in Java or \Cpp.
For a more advanced concept, see \function{classmethod} in this section. For a more advanced concept, see \function{classmethod()} in this
section.
\versionadded{2.2} \versionadded{2.2}
\end{funcdesc} \end{funcdesc}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment