From: Skip Montanaro Date: Wed, 23 Jan 2002 08:18:30 +0000 (+0000) Subject: add missing return value info for PyDict_DelItem X-Git-Tag: v2.3c1~6800 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a23bc42ad5ad1b81a7c6342cc93a7a07eb072f48;p=python add missing return value info for PyDict_DelItem --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 13f1f0ab81..5c71b3a6cc 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -1727,7 +1727,7 @@ format. \begin{cfuncdesc}{int}{PyDict_DelItem}{PyObject *p, PyObject *key} Removes the entry in dictionary \var{p} with key \var{key}. \var{key} must be hashable; if it isn't, \exception{TypeError} is - raised. + raised. Returns \code{0} on success or \code{-1} on failure. \end{cfuncdesc} \begin{cfuncdesc}{int}{PyDict_DelItemString}{PyObject *p, char *key}