summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-10-26 17:20:07 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-10-26 17:20:07 (GMT)
commit9c7ed4c6dfe9ad33538014249142a99a90279b1a (patch)
tree89895ca017146f3b91bd6fc3c23b52a8d1b016b4 /Doc/api
parentcca3491dbe5c8289f170b3a4417c7a73f80cfa80 (diff)
downloadcpython-9c7ed4c6dfe9ad33538014249142a99a90279b1a.zip
cpython-9c7ed4c6dfe9ad33538014249142a99a90279b1a.tar.gz
cpython-9c7ed4c6dfe9ad33538014249142a99a90279b1a.tar.bz2
Document that varlist can be NULL.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/concrete.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/api/concrete.tex b/Doc/api/concrete.tex
index 7e784c7..b00b915 100644
--- a/Doc/api/concrete.tex
+++ b/Doc/api/concrete.tex
@@ -1741,8 +1741,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}