summaryrefslogtreecommitdiffstats
path: root/Include/bytesobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/bytesobject.h')
-rw-r--r--Include/bytesobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/bytesobject.h b/Include/bytesobject.h
index 4c4dc40..ee448cd 100644
--- a/Include/bytesobject.h
+++ b/Include/bytesobject.h
@@ -29,7 +29,7 @@ PyAPI_DATA(PyTypeObject) PyBytesIter_Type;
#define PyBytes_Check(op) \
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
-#define PyBytes_CheckExact(op) Py_IS_TYPE(op, &PyBytes_Type)
+#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);