summaryrefslogtreecommitdiffstats
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-07-10 16:10:08 (GMT)
committerFred Drake <fdrake@acm.org>2001-07-10 16:10:08 (GMT)
commitbab2965c7c28ab56c4075ae990b349196cce38c2 (patch)
treebed7ad7522f660700671b20be4a69b4315864732 /Python/pystate.c
parent05be1a0fd6f86654f46e5aeadf04b25a3aa406e4 (diff)
downloadcpython-bab2965c7c28ab56c4075ae990b349196cce38c2.zip
cpython-bab2965c7c28ab56c4075ae990b349196cce38c2.tar.gz
cpython-bab2965c7c28ab56c4075ae990b349196cce38c2.tar.bz2
Document PyObject_New(), PyObject_NewVar(), PyObject_Init(),
PyObject_InitVar(), PyObject_Del(), PyObject_NEW(), PyObject_NEW_VAR(), and PyObject_DEL(). Add notes to PyMem_Malloc() and PyMem_New() about the memory buffers not being initialized. This fixes SF bug #439012. Added explicit return value information for PyList_SetItem(), PyDict_SetItem(), and PyDict_SetItemString(). Corrected return type for PyList_SET_ITEM(). Fixed index entries in the descriptions of PyLong_AsLong() and PyLong_AsUnignedLong(). This fixes the API manual portion of SF bug #440037. Note that the headers properly declare everything as 'extern "C"' for C++ users. Document _Py_NoneStruct. Added links to the Extending & Embedding manual for PyArg_ParseTuple() and PyArg_ParseTupleAndKeywords(). Added note that PyArg_Parse() should not be used in new code. Fix up a few style nits -- avoid "e.g." and "i.e." -- these make translation more difficult, as well as reading the English more difficult for non-native speakers.
Diffstat (limited to 'Python/pystate.c')
0 files changed, 0 insertions, 0 deletions