]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Document PyObject_New(), PyObject_NewVar(), PyObject_Init(),
authorFred Drake <fdrake@acm.org>
Tue, 10 Jul 2001 16:10:08 +0000 (16:10 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 10 Jul 2001 16:10:08 +0000 (16:10 +0000)
commitbab2965c7c28ab56c4075ae990b349196cce38c2
treebed7ad7522f660700671b20be4a69b4315864732
parent05be1a0fd6f86654f46e5aeadf04b25a3aa406e4
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.
Doc/api/api.tex