[Python-checkins] r42127 - python/trunk/Doc/lib/libfuncs.tex

georg.brandl python-checkins at python.org
Fri Jan 20 22:33:57 CET 2006


Author: georg.brandl
Date: Fri Jan 20 22:33:54 2006
New Revision: 42127

Modified:
   python/trunk/Doc/lib/libfuncs.tex
Log:
Patch #1410783: add documentation links for static/classmethod


Modified: python/trunk/Doc/lib/libfuncs.tex
==============================================================================
--- python/trunk/Doc/lib/libfuncs.tex	(original)
+++ python/trunk/Doc/lib/libfuncs.tex	Fri Jan 20 22:33:54 2006
@@ -151,6 +151,10 @@
 
   Class methods are different than \Cpp{} or Java static methods.
   If you want those, see \function{staticmethod()} in this section.
+  
+  For more information on class methods, consult the documentation on the
+  standard type hierarchy in chapter 3 of the
+  \citetitle[../ref/types.html]{Python Reference Manual} (at the bottom).
   \versionadded{2.2}
   \versionchanged[Function decorator syntax added]{2.4}
 \end{funcdesc}
@@ -987,7 +991,7 @@
 
   The \code{@staticmethod} form is a function decorator -- see the description
   of function definitions in chapter 7 of the
-  \citetitle[../ref/ref.html]{Python Reference Manual} for details.
+  \citetitle[../ref/function.html]{Python Reference Manual} for details.
 
   It can be called either on the class (such as \code{C.f()}) or on an
   instance (such as \code{C().f()}).  The instance is ignored except
@@ -996,6 +1000,10 @@
   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 more information on static methods, consult the documentation on the
+  standard type hierarchy in chapter 3 of the
+  \citetitle[../ref/types.html]{Python Reference Manual} (at the bottom).
   \versionadded{2.2}
   \versionchanged[Function decorator syntax added]{2.4}
 \end{funcdesc}


More information about the Python-checkins mailing list