mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423)
This commit is contained in:
parent
8e76c45622
commit
3842f2997f
5 changed files with 51 additions and 13 deletions
|
@ -72,8 +72,12 @@ PyWideStringList
|
|||
|
||||
.. c:function:: PyStatus PyWideStringList_Insert(PyWideStringList *list, Py_ssize_t index, const wchar_t *item)
|
||||
|
||||
Insert *item* into *list* at *index*. If *index* is greater than *list*
|
||||
length, just append *item* to *list*.
|
||||
Insert *item* into *list* at *index*.
|
||||
|
||||
If *index* is greater than or equal to *list* length, append *item* to
|
||||
*list*.
|
||||
|
||||
*index* must be greater than or equal to 0.
|
||||
|
||||
Python must be preinitialized to call this function.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue