Tin mới
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.
Like PyList_GetItemRef(), but returns a borrowed reference instead of a strong reference.