mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Document that varlist can be NULL.
This commit is contained in:
parent
cca3491dbe
commit
9c7ed4c6df
1 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue