mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Oops. The value "0 or +1" for the category argument of PyErr_Warn()
doesn't work. Make it 0. (Although it really *should* be 0 or +1 -- the refcount is incremented when it is raised as an exception, but not otherwise.)
This commit is contained in:
parent
9a18a7ed03
commit
e22e4b2b59
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ PyErr_Format:char*:format::
|
|||
PyErr_Format::...::
|
||||
|
||||
PyErr_Warn:int:::
|
||||
PyErr_Warn:PyObject*:category:0 or +1:
|
||||
PyErr_Warn:PyObject*:category:0:
|
||||
PyErr_Warn:char*:message::
|
||||
|
||||
PyEval_AcquireLock:void:::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue