From: Guido van Rossum Date: Fri, 22 Jan 1999 20:10:49 +0000 (+0000) Subject: Header for PyObject_DelItem() mentioned non-existing 3rd argument. X-Git-Tag: v1.5.2b2~297 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1dbf633ed3a3ed4d7e2697198620b7b099821cc;p=thirdparty%2FPython%2Fcpython.git Header for PyObject_DelItem() mentioned non-existing 3rd argument. --- diff --git a/Doc/api/api.tex b/Doc/api/api.tex index 95b31587bd72..1951a98524b4 100644 --- a/Doc/api/api.tex +++ b/Doc/api/api.tex @@ -1268,7 +1268,7 @@ of the Python statement \samp{\var{o}[\var{key}] = \var{v}}. \end{cfuncdesc} -\begin{cfuncdesc}{int}{PyObject_DelItem}{PyObject *o, PyObject *key, PyObject *v} +\begin{cfuncdesc}{int}{PyObject_DelItem}{PyObject *o, PyObject *key} Delete the mapping for \var{key} from \var{o}. Returns \code{-1} on failure. This is the equivalent of the Python statement \samp{del \var{o}[\var{key}]}.