summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-23 15:15:31 (GMT)
committerGeorg Brandl <georg@python.org>2008-08-23 15:15:31 (GMT)
commit7161cbfcba600b42fbebe0f59fc284899101cfc0 (patch)
treeb0160965934e08368e55792df2c1df6cd302dea3
parent69ed5240451b5e9642ddc87bb6b0ca2d2e47d784 (diff)
downloadcpython-7161cbfcba600b42fbebe0f59fc284899101cfc0.zip
cpython-7161cbfcba600b42fbebe0f59fc284899101cfc0.tar.gz
cpython-7161cbfcba600b42fbebe0f59fc284899101cfc0.tar.bz2
Small updates to types member docs, backport from r65994.
-rw-r--r--Doc/library/types.rst22
1 files changed, 8 insertions, 14 deletions
diff --git a/Doc/library/types.rst b/Doc/library/types.rst
index 6c90ec9..f116766 100644
--- a/Doc/library/types.rst
+++ b/Doc/library/types.rst
@@ -1,4 +1,3 @@
-
:mod:`types` --- Names for built-in types
=========================================
@@ -117,13 +116,10 @@ The module defines the following names:
.. 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 @@ The module defines the following names:
.. data:: ClassType
- The type of user-defined classes.
+ The type of user-defined :term:`old-style class`\es.
.. data:: InstanceType
@@ -162,13 +158,11 @@ The module defines the following names:
.. 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