summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-22 20:10:49 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-22 20:10:49 (GMT)
commitd1dbf633ed3a3ed4d7e2697198620b7b099821cc (patch)
treedf4906a6c9f949da731236d0ba09289c29f4cdd3 /Doc/api
parent539d4256b09edf807ae3f27be913351e2ef68510 (diff)
downloadcpython-d1dbf633ed3a3ed4d7e2697198620b7b099821cc.zip
cpython-d1dbf633ed3a3ed4d7e2697198620b7b099821cc.tar.gz
cpython-d1dbf633ed3a3ed4d7e2697198620b7b099821cc.tar.bz2
Header for PyObject_DelItem() mentioned non-existing 3rd argument.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/api.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/api.tex b/Doc/api/api.tex
index 95b3158..1951a98 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}]}.