File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121# always return NULL. This is used by some of the PyErr_*() functions, in
2222# particular.
2323
24+ # XXX NOTE: the 0/+1/-1 refcount information for arguments is
25+ # confusing! Much more useful would be to indicate whether the
26+ # function "steals" a reference to the argument or not. Take for
27+ # example PyList_SetItem(list, i, item). This lists as a 0 change for
28+ # both the list and the item arguments. However, in fact it steals a
29+ # reference to the item argument!
30+
2431# The parameter names are as they appear in the API manual, not the source
2532# code.
2633
@@ -199,6 +206,10 @@ PyErr_Format:PyObject*:exception:+1:
199206PyErr_Format:char*:format::
200207PyErr_Format::...::
201208
209+ PyErr_Warn:int:::
210+ PyErr_Warn:PyObject*:category:0 or +1:
211+ PyErr_Warn:char*:message::
212+
202213PyEval_AcquireLock:void:::
203214
204215PyEval_AcquireThread:void:::
You can’t perform that action at this time.
0 commit comments