summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-06-26 03:11:57 (GMT)
committerFred Drake <fdrake@acm.org>2003-06-26 03:11:57 (GMT)
commitf91888bb463260fc32e929dae032c8fb05fdd617 (patch)
tree2f7175128d98f20cd86d003d7c146e295ad737e2 /Doc
parent4db3661e24e1606df2ae05b59c0d9716f06a11f7 (diff)
downloadcpython-f91888bb463260fc32e929dae032c8fb05fdd617.zip
cpython-f91888bb463260fc32e929dae032c8fb05fdd617.tar.gz
cpython-f91888bb463260fc32e929dae032c8fb05fdd617.tar.bz2
markup consistency nits
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libfuncs.tex19
1 files changed, 10 insertions, 9 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index a995d84..0b03d47 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -142,7 +142,7 @@ class C:
object is passed as the implied first argument.
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}
\end{funcdesc}
@@ -681,13 +681,13 @@ class C:
\end{funcdesc}
\begin{funcdesc}{object}{}
-Return a new featureless object. \function{object} is a base
-for all new style classes. It has the methods that are common
-to all instances of new style classes.
-\versionadded{2.2}
+ Return a new featureless object. \function{object()} is a base
+ for all new style classes. It has the methods that are common
+ to all instances of new style classes.
+ \versionadded{2.2}
-\versionchanged[This function does not accept any arguments.
-Formerly, it accepted arguments but ignored them]{2.3}
+ \versionchanged[This function does not accept any arguments.
+ Formerly, it accepted arguments but ignored them]{2.3}
\end{funcdesc}
\begin{funcdesc}{oct}{x}
@@ -916,8 +916,9 @@ class C:
instance (such as \code{C().f()}). The instance is ignored except
for its class.
- Static methods in Python are similar to those found in Java or C++.
- For a more advanced concept, see \function{classmethod} in this section.
+ Static methods in Python are similar to those found in Java or \Cpp.
+ For a more advanced concept, see \function{classmethod()} in this
+ section.
\versionadded{2.2}
\end{funcdesc}