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

    r2 r391  
    88.. index:: object: None
    99
    10 Note that the :ctype:`PyTypeObject` for ``None`` is not directly exposed in the
     10Note that the :c:type:`PyTypeObject` for ``None`` is not directly exposed in the
    1111Python/C API.  Since ``None`` is a singleton, testing for object identity (using
    12 ``==`` in C) is sufficient. There is no :cfunc:`PyNone_Check` function for the
     12``==`` in C) is sufficient. There is no :c:func:`PyNone_Check` function for the
    1313same reason.
    1414
    1515
    16 .. cvar:: PyObject* Py_None
     16.. c:var:: PyObject* Py_None
    1717
    1818   The Python ``None`` object, denoting lack of value.  This object has no methods.
     
    2121
    2222
    23 .. cmacro:: Py_RETURN_NONE
     23.. c:macro:: Py_RETURN_NONE
    2424
    25    Properly handle returning :cdata:`Py_None` from within a C function.
     25   Properly handle returning :c:data:`Py_None` from within a C function.
    2626
    2727   .. versionadded:: 2.4
Note: See TracChangeset for help on using the changeset viewer.