[Python-checkins] r65995 - python/trunk/Doc/library/types.rst

georg.brandl python-checkins at python.org
Sat Aug 23 17:15:31 CEST 2008


Author: georg.brandl
Date: Sat Aug 23 17:15:31 2008
New Revision: 65995

Log:
Small updates to types member docs, backport from r65994.


Modified:
   python/trunk/Doc/library/types.rst

Modified: python/trunk/Doc/library/types.rst
==============================================================================
--- python/trunk/Doc/library/types.rst	(original)
+++ python/trunk/Doc/library/types.rst	Sat Aug 23 17:15:31 2008
@@ -1,4 +1,3 @@
-
 :mod:`types` --- Names for built-in types
 =========================================
 
@@ -117,13 +116,10 @@
 
 
 .. data:: FunctionType
+          LambdaType
 
-   The type of user-defined functions and lambdas.
-
-
-.. data:: LambdaType
-
-   An alternate name for ``FunctionType``.
+   The type of user-defined functions and functions created by :keyword:`lambda`
+   expressions.
 
 
 .. data:: GeneratorType
@@ -143,7 +139,7 @@
 
 .. data:: ClassType
 
-   The type of user-defined classes.
+   The type of user-defined :term:`old-style class`\es.
 
 
 .. data:: InstanceType
@@ -162,13 +158,11 @@
 
 
 .. data:: BuiltinFunctionType
+          BuiltinMethodType
 
-   The type of built-in functions like :func:`len` or :func:`sys.exit`.
-
-
-.. data:: BuiltinMethodType
-
-   An alternate name for ``BuiltinFunction``.
+   The type of built-in functions like :func:`len` or :func:`sys.exit`, and
+   methods of built-in classes.  (Here, the term "built-in" means "written in
+   C".)
 
 
 .. data:: ModuleType


More information about the Python-checkins mailing list