[Python-checkins] r85633 - in python/branches/py3k/Doc/c-api: bytearray.rst bytes.rst complex.rst dict.rst float.rst list.rst long.rst slice.rst tuple.rst type.rst

georg.brandl python-checkins at python.org
Sun Oct 17 12:59:41 CEST 2010


Author: georg.brandl
Date: Sun Oct 17 12:59:41 2010
New Revision: 85633

Log:
#9204: remove mentions of removed types in the types module.

Modified:
   python/branches/py3k/Doc/c-api/bytearray.rst
   python/branches/py3k/Doc/c-api/bytes.rst
   python/branches/py3k/Doc/c-api/complex.rst
   python/branches/py3k/Doc/c-api/dict.rst
   python/branches/py3k/Doc/c-api/float.rst
   python/branches/py3k/Doc/c-api/list.rst
   python/branches/py3k/Doc/c-api/long.rst
   python/branches/py3k/Doc/c-api/slice.rst
   python/branches/py3k/Doc/c-api/tuple.rst
   python/branches/py3k/Doc/c-api/type.rst

Modified: python/branches/py3k/Doc/c-api/bytearray.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/bytearray.rst	(original)
+++ python/branches/py3k/Doc/c-api/bytearray.rst	Sun Oct 17 12:59:41 2010
@@ -16,7 +16,8 @@
 .. c:var:: PyTypeObject PyByteArray_Type
 
    This instance of :c:type:`PyTypeObject` represents the Python bytearray type;
-   it is the same object as ``bytearray`` in the Python layer.
+   it is the same object as :class:`bytearray` in the Python layer.
+
 
 Type check macros
 ^^^^^^^^^^^^^^^^^

Modified: python/branches/py3k/Doc/c-api/bytes.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/bytes.rst	(original)
+++ python/branches/py3k/Doc/c-api/bytes.rst	Sun Oct 17 12:59:41 2010
@@ -18,10 +18,8 @@
 
 .. c:var:: PyTypeObject PyBytes_Type
 
-   .. index:: single: BytesType (in module types)
-
    This instance of :c:type:`PyTypeObject` represents the Python bytes type; it
-   is the same object as ``bytes`` in the Python layer. .
+   is the same object as :class:`bytes` in the Python layer.
 
 
 .. c:function:: int PyBytes_Check(PyObject *o)

Modified: python/branches/py3k/Doc/c-api/complex.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/complex.rst	(original)
+++ python/branches/py3k/Doc/c-api/complex.rst	Sun Oct 17 12:59:41 2010
@@ -82,7 +82,7 @@
 .. c:var:: PyTypeObject PyComplex_Type
 
    This instance of :c:type:`PyTypeObject` represents the Python complex number
-   type. It is the same object as ``complex`` and ``types.ComplexType``.
+   type. It is the same object as :class:`complex` in the Python layer.
 
 
 .. c:function:: int PyComplex_Check(PyObject *p)

Modified: python/branches/py3k/Doc/c-api/dict.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/dict.rst	(original)
+++ python/branches/py3k/Doc/c-api/dict.rst	Sun Oct 17 12:59:41 2010
@@ -15,13 +15,8 @@
 
 .. c:var:: PyTypeObject PyDict_Type
 
-   .. index::
-      single: DictType (in module types)
-      single: DictionaryType (in module types)
-
    This instance of :c:type:`PyTypeObject` represents the Python dictionary
-   type.  This is exposed to Python programs as ``dict`` and
-   ``types.DictType``.
+   type.  This is the same object as :class:`dict` in the Python layer.
 
 
 .. c:function:: int PyDict_Check(PyObject *p)

Modified: python/branches/py3k/Doc/c-api/float.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/float.rst	(original)
+++ python/branches/py3k/Doc/c-api/float.rst	Sun Oct 17 12:59:41 2010
@@ -15,10 +15,8 @@
 
 .. c:var:: PyTypeObject PyFloat_Type
 
-   .. index:: single: FloatType (in modules types)
-
    This instance of :c:type:`PyTypeObject` represents the Python floating point
-   type.  This is the same object as ``float`` and ``types.FloatType``.
+   type.  This is the same object as :class:`float` in the Python layer.
 
 
 .. c:function:: int PyFloat_Check(PyObject *p)

Modified: python/branches/py3k/Doc/c-api/list.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/list.rst	(original)
+++ python/branches/py3k/Doc/c-api/list.rst	Sun Oct 17 12:59:41 2010
@@ -15,8 +15,8 @@
 
 .. c:var:: PyTypeObject PyList_Type
 
-   This instance of :c:type:`PyTypeObject` represents the Python list type.  This
-   is the same object as ``list`` in the Python layer.
+   This instance of :c:type:`PyTypeObject` represents the Python list type.
+   This is the same object as :class:`list` in the Python layer.
 
 
 .. c:function:: int PyList_Check(PyObject *p)

Modified: python/branches/py3k/Doc/c-api/long.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/long.rst	(original)
+++ python/branches/py3k/Doc/c-api/long.rst	Sun Oct 17 12:59:41 2010
@@ -18,7 +18,7 @@
 .. c:var:: PyTypeObject PyLong_Type
 
    This instance of :c:type:`PyTypeObject` represents the Python integer type.
-   This is the same object as ``int``.
+   This is the same object as :class:`int` in the Python layer.
 
 
 .. c:function:: int PyLong_Check(PyObject *p)

Modified: python/branches/py3k/Doc/c-api/slice.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/slice.rst	(original)
+++ python/branches/py3k/Doc/c-api/slice.rst	Sun Oct 17 12:59:41 2010
@@ -8,10 +8,8 @@
 
 .. c:var:: PyTypeObject PySlice_Type
 
-   .. index:: single: SliceType (in module types)
-
-   The type object for slice objects.  This is the same as ``slice`` and
-   ``types.SliceType``.
+   The type object for slice objects.  This is the same as :class:`slice` in the
+   Python layer.
 
 
 .. c:function:: int PySlice_Check(PyObject *ob)

Modified: python/branches/py3k/Doc/c-api/tuple.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/tuple.rst	(original)
+++ python/branches/py3k/Doc/c-api/tuple.rst	Sun Oct 17 12:59:41 2010
@@ -15,10 +15,8 @@
 
 .. c:var:: PyTypeObject PyTuple_Type
 
-   .. index:: single: TupleType (in module types)
-
-   This instance of :c:type:`PyTypeObject` represents the Python tuple type; it is
-   the same object as ``tuple`` and ``types.TupleType`` in the Python layer..
+   This instance of :c:type:`PyTypeObject` represents the Python tuple type; it
+   is the same object as :class:`tuple` in the Python layer.
 
 
 .. c:function:: int PyTuple_Check(PyObject *p)

Modified: python/branches/py3k/Doc/c-api/type.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/type.rst	(original)
+++ python/branches/py3k/Doc/c-api/type.rst	Sun Oct 17 12:59:41 2010
@@ -15,10 +15,8 @@
 
 .. c:var:: PyObject* PyType_Type
 
-   .. index:: single: TypeType (in module types)
-
-   This is the type object for type objects; it is the same object as ``type`` and
-   ``types.TypeType`` in the Python layer.
+   This is the type object for type objects; it is the same object as
+   :class:`type` in the Python layer.
 
 
 .. c:function:: int PyType_Check(PyObject *o)


More information about the Python-checkins mailing list