mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00: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
|
@ -11,7 +11,7 @@ PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);
|
|||
|
||||
/* Reveal traceback type so we can typecheck traceback objects */
|
||||
PyAPI_DATA(PyTypeObject) PyTraceBack_Type;
|
||||
#define PyTraceBack_Check(v) Py_IS_TYPE(v, &PyTraceBack_Type)
|
||||
#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
|
||||
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue