From: Raymond Hettinger Date: Sun, 26 Oct 2003 17:21:56 +0000 (+0000) Subject: Document that varlist can be NULL. X-Git-Tag: v2.3.3c1~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e86e5b71c87c68309f2404d2b67c07a493128757;p=thirdparty%2FPython%2Fcpython.git Document that varlist can be NULL. --- diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex index 53785aeff1f2..5ae0f02f67c0 100644 --- a/Doc/api/concrete.tex +++ b/Doc/api/concrete.tex @@ -1733,8 +1733,10 @@ format. PyObject *itemlist} Sets the slice of \var{list} between \var{low} and \var{high} to the contents of \var{itemlist}. Analogous to - \code{\var{list}[\var{low}:\var{high}] = \var{itemlist}}. Returns - \code{0} on success, \code{-1} on failure. + \code{\var{list}[\var{low}:\var{high}] = \var{itemlist}}. + The \var{itemlist} may be \NULL{}, indicating the assignment + of an empty list (slice deletion). + Returns \code{0} on success, \code{-1} on failure. \end{cfuncdesc} \begin{cfuncdesc}{int}{PyList_Sort}{PyObject *list}