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/iterator.rst

    r2 r391  
    1313
    1414
    15 .. cvar:: PyTypeObject PySeqIter_Type
     15.. c:var:: PyTypeObject PySeqIter_Type
    1616
    17    Type object for iterator objects returned by :cfunc:`PySeqIter_New` and the
     17   Type object for iterator objects returned by :c:func:`PySeqIter_New` and the
    1818   one-argument form of the :func:`iter` built-in function for built-in sequence
    1919   types.
     
    2222
    2323
    24 .. cfunction:: int PySeqIter_Check(op)
     24.. c:function:: int PySeqIter_Check(op)
    2525
    26    Return true if the type of *op* is :cdata:`PySeqIter_Type`.
     26   Return true if the type of *op* is :c:data:`PySeqIter_Type`.
    2727
    2828   .. versionadded:: 2.2
    2929
    3030
    31 .. cfunction:: PyObject* PySeqIter_New(PyObject *seq)
     31.. c:function:: PyObject* PySeqIter_New(PyObject *seq)
    3232
    3333   Return an iterator that works with a general sequence object, *seq*.  The
     
    3838
    3939
    40 .. cvar:: PyTypeObject PyCallIter_Type
     40.. c:var:: PyTypeObject PyCallIter_Type
    4141
    42    Type object for iterator objects returned by :cfunc:`PyCallIter_New` and the
     42   Type object for iterator objects returned by :c:func:`PyCallIter_New` and the
    4343   two-argument form of the :func:`iter` built-in function.
    4444
     
    4646
    4747
    48 .. cfunction:: int PyCallIter_Check(op)
     48.. c:function:: int PyCallIter_Check(op)
    4949
    50    Return true if the type of *op* is :cdata:`PyCallIter_Type`.
     50   Return true if the type of *op* is :c:data:`PyCallIter_Type`.
    5151
    5252   .. versionadded:: 2.2
    5353
    5454
    55 .. cfunction:: PyObject* PyCallIter_New(PyObject *callable, PyObject *sentinel)
     55.. c:function:: PyObject* PyCallIter_New(PyObject *callable, PyObject *sentinel)
    5656
    5757   Return a new iterator.  The first parameter, *callable*, can be any Python
Note: See TracChangeset for help on using the changeset viewer.