mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -77,7 +77,7 @@ typedef struct _symtable_entry {
|
|||
|
||||
extern PyTypeObject PySTEntry_Type;
|
||||
|
||||
#define PySTEntry_Check(op) Py_IS_TYPE(op, &PySTEntry_Type)
|
||||
#define PySTEntry_Check(op) Py_IS_TYPE((op), &PySTEntry_Type)
|
||||
|
||||
extern long _PyST_GetSymbol(PySTEntryObject *, PyObject *);
|
||||
extern int _PyST_GetScope(PySTEntryObject *, PyObject *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue