]> granicus.if.org Git - python/commitdiff
Removed useless intra-section references which jump to the top of the
authorRaymond Hettinger <python@rcn.com>
Wed, 25 Jun 2003 20:36:20 +0000 (20:36 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 25 Jun 2003 20:36:20 +0000 (20:36 +0000)
section instead of the specific item being referenced.

Doc/lib/libfuncs.tex

index 1998e23c2645334d82b48c42cd1eb887cc37a46d..a995d84aa8f2013618fa0c0e6b82e05b37b52232 100644 (file)
@@ -123,7 +123,6 @@ def my_import(name):
 \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,
@@ -143,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 \ref{staticmethod}.
+  If you want those, see \function{staticmethod} in this section.
   \versionadded{2.2}
 \end{funcdesc}
 
@@ -902,7 +901,6 @@ class C(object):
 \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.
@@ -919,7 +917,7 @@ class C:
   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}