summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/concrete.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-31 16:33:38 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-31 16:33:38 (GMT)
commit85eb8c103c9e460917911b43c6be302c30d75efb (patch)
tree2cbb4ff9497eb9db774e40d4f84abb368a311ed6 /Doc/c-api/concrete.rst
parent3540ef16c19f2260e347a679cb27d44ba734bec6 (diff)
downloadcpython-85eb8c103c9e460917911b43c6be302c30d75efb.zip
cpython-85eb8c103c9e460917911b43c6be302c30d75efb.tar.gz
cpython-85eb8c103c9e460917911b43c6be302c30d75efb.tar.bz2
- document bytes()
- throw out many mentions of "old-style/new-style" - add memoryview() though I somebody has to fill in the details - throw out str.decode() - throw out classobj and instanceobj
Diffstat (limited to 'Doc/c-api/concrete.rst')
-rw-r--r--Doc/c-api/concrete.rst71
1 files changed, 0 insertions, 71 deletions
diff --git a/Doc/c-api/concrete.rst b/Doc/c-api/concrete.rst
index 0dc7197..0774c7e 100644
--- a/Doc/c-api/concrete.rst
+++ b/Doc/c-api/concrete.rst
@@ -2503,43 +2503,6 @@ Dictionary Objects
Other Objects
=============
-
-.. _classobjects:
-
-Class Objects
--------------
-
-.. index:: object: class
-
-Note that the class objects described here represent old-style classes, which
-will go away in Python 3. When creating new types for extension modules, you
-will want to work with type objects (section :ref:`typeobjects`).
-
-
-.. ctype:: PyClassObject
-
- The C structure of the objects used to describe built-in classes.
-
-
-.. cvar:: PyObject* PyClass_Type
-
- .. index:: single: ClassType (in module types)
-
- This is the type object for class objects; it is the same object as
- ``types.ClassType`` in the Python layer.
-
-
-.. cfunction:: int PyClass_Check(PyObject *o)
-
- Return true if the object *o* is a class object, including instances of types
- derived from the standard class object. Return false in all other cases.
-
-
-.. cfunction:: int PyClass_IsSubclass(PyObject *klass, PyObject *base)
-
- Return true if *klass* is a subclass of *base*. Return false in all other cases.
-
-
.. _fileobjects:
File Objects
@@ -2668,40 +2631,6 @@ change in future releases of Python.
failure; the appropriate exception will be set.
-.. _instanceobjects:
-
-Instance Objects
-----------------
-
-.. index:: object: instance
-
-There are very few functions specific to instance objects.
-
-
-.. cvar:: PyTypeObject PyInstance_Type
-
- Type object for class instances.
-
-
-.. cfunction:: int PyInstance_Check(PyObject *obj)
-
- Return true if *obj* is an instance.
-
-
-.. cfunction:: PyObject* PyInstance_New(PyObject *class, PyObject *arg, PyObject *kw)
-
- Create a new instance of a specific class. The parameters *arg* and *kw* are
- used as the positional and keyword parameters to the object's constructor.
-
-
-.. cfunction:: PyObject* PyInstance_NewRaw(PyObject *class, PyObject *dict)
-
- Create a new instance of a specific class without calling its constructor.
- *class* is the class of new object. The *dict* parameter will be used as the
- object's :attr:`__dict__`; if *NULL*, a new dictionary will be created for the
- instance.
-
-
.. _function-objects:
Function Objects