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

    r2 r391  
    88Generator objects are what Python uses to implement generator iterators. They
    99are normally created by iterating over a function that yields values, rather
    10 than explicitly calling :cfunc:`PyGen_New`.
     10than explicitly calling :c:func:`PyGen_New`.
    1111
    1212
    13 .. ctype:: PyGenObject
     13.. c:type:: PyGenObject
    1414
    1515   The C structure used for generator objects.
    1616
    1717
    18 .. cvar:: PyTypeObject PyGen_Type
     18.. c:var:: PyTypeObject PyGen_Type
    1919
    2020   The type object corresponding to generator objects
    2121
    2222
    23 .. cfunction:: int PyGen_Check(ob)
     23.. c:function:: int PyGen_Check(ob)
    2424
    2525   Return true if *ob* is a generator object; *ob* must not be *NULL*.
    2626
    2727
    28 .. cfunction:: int PyGen_CheckExact(ob)
     28.. c:function:: int PyGen_CheckExact(ob)
    2929
    3030   Return true if *ob*'s type is *PyGen_Type* is a generator object; *ob* must not
     
    3232
    3333
    34 .. cfunction:: PyObject* PyGen_New(PyFrameObject *frame)
     34.. c:function:: PyObject* PyGen_New(PyFrameObject *frame)
    3535
    3636   Create and return a new generator object based on the *frame* object. A
Note: See TracChangeset for help on using the changeset viewer.