Changeset 391 for python/trunk/Doc/c-api/bool.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/bool.rst
r2 r391 12 12 13 13 14 .. c function:: int PyBool_Check(PyObject *o)14 .. c:function:: int PyBool_Check(PyObject *o) 15 15 16 Return true if *o* is of type :c data:`PyBool_Type`.16 Return true if *o* is of type :c:data:`PyBool_Type`. 17 17 18 18 .. versionadded:: 2.3 19 19 20 20 21 .. c var:: PyObject* Py_False21 .. c:var:: PyObject* Py_False 22 22 23 23 The Python ``False`` object. This object has no methods. It needs to be … … 25 25 26 26 27 .. c var:: PyObject* Py_True27 .. c:var:: PyObject* Py_True 28 28 29 29 The Python ``True`` object. This object has no methods. It needs to be treated … … 31 31 32 32 33 .. c macro:: Py_RETURN_FALSE33 .. c:macro:: Py_RETURN_FALSE 34 34 35 35 Return :const:`Py_False` from a function, properly incrementing its reference … … 39 39 40 40 41 .. c macro:: Py_RETURN_TRUE41 .. c:macro:: Py_RETURN_TRUE 42 42 43 43 Return :const:`Py_True` from a function, properly incrementing its reference … … 47 47 48 48 49 .. c function:: PyObject* PyBool_FromLong(long v)49 .. c:function:: PyObject* PyBool_FromLong(long v) 50 50 51 51 Return a new reference to :const:`Py_True` or :const:`Py_False` depending on the
Note:
See TracChangeset
for help on using the changeset viewer.