From d1dbf633ed3a3ed4d7e2697198620b7b099821cc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 22 Jan 1999 20:10:49 +0000 Subject: [PATCH] Header for PyObject_DelItem() mentioned non-existing 3rd argument. --- Doc/api/api.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/api/api.tex b/Doc/api/api.tex index 95b31587bd7..1951a98524b 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}]}.