List Objects — Python 3.14.7 documentation

docs.python.org

Tin mới

Dictionary Objects

Python Module Index

3.14.7 Documentation

Python/C API reference manual

Concrete Objects Layer

PySequence_SetItem()

If len is greater than zero, the returned list object’s items are set to NULL. Thus you cannot use abstract API functions such as PySequence_SetItem() or expose the object to Python code before setting all items to a rea

Safe to call from multiple threads with external synchronization only

Like PyList_GetItemRef(), but returns a borrowed reference instead of a strong reference.

borrowed reference

Like PyList_GetItemRef(), but returns a borrowed reference instead of a strong reference.