mirror of
https://github.com/python/cpython.git
synced 2025-10-06 15:11:58 +00:00
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
This commit is contained in:
parent
019f0a0cb8
commit
e502451781
13 changed files with 33 additions and 31 deletions
|
@ -1004,7 +1004,7 @@ PyErr_WarnEx(PyObject *category, const char *text, Py_ssize_t stack_level)
|
|||
|
||||
#undef PyErr_Warn
|
||||
|
||||
PyAPI_FUNC(int)
|
||||
int
|
||||
PyErr_Warn(PyObject *category, const char *text)
|
||||
{
|
||||
return PyErr_WarnEx(category, text, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue