mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)
This commit is contained in:
parent
484b40bf18
commit
7546914e3f
34 changed files with 58 additions and 58 deletions
|
|
@ -9,8 +9,8 @@ extern "C" {
|
|||
|
||||
PyAPI_DATA(PyTypeObject) PyModule_Type;
|
||||
|
||||
#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
|
||||
#define PyModule_CheckExact(op) Py_IS_TYPE(op, &PyModule_Type)
|
||||
#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
|
||||
#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
|
||||
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
|
||||
PyAPI_FUNC(PyObject *) PyModule_NewObject(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue