Changeset 391 for python/trunk/Doc/c-api/none.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/c-api/none.rst
r2 r391 8 8 .. index:: object: None 9 9 10 Note that the :c type:`PyTypeObject` for ``None`` is not directly exposed in the10 Note that the :c:type:`PyTypeObject` for ``None`` is not directly exposed in the 11 11 Python/C API. Since ``None`` is a singleton, testing for object identity (using 12 ``==`` in C) is sufficient. There is no :c func:`PyNone_Check` function for the12 ``==`` in C) is sufficient. There is no :c:func:`PyNone_Check` function for the 13 13 same reason. 14 14 15 15 16 .. c var:: PyObject* Py_None16 .. c:var:: PyObject* Py_None 17 17 18 18 The Python ``None`` object, denoting lack of value. This object has no methods. … … 21 21 22 22 23 .. c macro:: Py_RETURN_NONE23 .. c:macro:: Py_RETURN_NONE 24 24 25 Properly handle returning :c data:`Py_None` from within a C function.25 Properly handle returning :c:data:`Py_None` from within a C function. 26 26 27 27 .. versionadded:: 2.4
Note:
See TracChangeset
for help on using the changeset viewer.