Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/c-api/class.rst

    r2 r391  
    1313
    1414
    15 .. ctype:: PyClassObject
     15.. c:type:: PyClassObject
    1616
    1717   The C structure of the objects used to describe built-in classes.
    1818
    1919
    20 .. cvar:: PyObject* PyClass_Type
     20.. c:var:: PyObject* PyClass_Type
    2121
    2222   .. index:: single: ClassType (in module types)
     
    2626
    2727
    28 .. cfunction:: int PyClass_Check(PyObject *o)
     28.. c:function:: int PyClass_Check(PyObject *o)
    2929
    3030   Return true if the object *o* is a class object, including instances of types
     
    3232
    3333
    34 .. cfunction:: int PyClass_IsSubclass(PyObject *klass, PyObject *base)
     34.. c:function:: int PyClass_IsSubclass(PyObject *klass, PyObject *base)
    3535
    3636   Return true if *klass* is a subclass of *base*. Return false in all other cases.
     
    4242
    4343
    44 .. cvar:: PyTypeObject PyInstance_Type
     44.. c:var:: PyTypeObject PyInstance_Type
    4545
    4646   Type object for class instances.
    4747
    4848
    49 .. cfunction:: int PyInstance_Check(PyObject *obj)
     49.. c:function:: int PyInstance_Check(PyObject *obj)
    5050
    5151   Return true if *obj* is an instance.
    5252
    5353
    54 .. cfunction:: PyObject* PyInstance_New(PyObject *class, PyObject *arg, PyObject *kw)
     54.. c:function:: PyObject* PyInstance_New(PyObject *class, PyObject *arg, PyObject *kw)
    5555
    5656   Create a new instance of a specific class.  The parameters *arg* and *kw* are
     
    5858
    5959
    60 .. cfunction:: PyObject* PyInstance_NewRaw(PyObject *class, PyObject *dict)
     60.. c:function:: PyObject* PyInstance_NewRaw(PyObject *class, PyObject *dict)
    6161
    6262   Create a new instance of a specific class without calling its constructor.
Note: See TracChangeset for help on using the changeset viewer.