gh-87347: Add parenthesis around PyXXX_Check() arguments (#92815)

This commit is contained in:
Victor Stinner 2022-06-16 13:49:43 +02:00 committed by GitHub
parent 484b40bf18
commit 7546914e3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 58 additions and 58 deletions

View file

@ -10,8 +10,8 @@ extern "C" {
PyAPI_DATA(PyTypeObject) PyComplex_Type;
#define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type)
#define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type)
#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
PyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double real, double imag);