@@ -313,7 +313,7 @@ v8::Intercepted CPythonObject::NamedGetter(v8::Local<v8::Name> prop, const v8::P
313313 }
314314
315315 if (::PyMapping_Check (obj.ptr ()) &&
316- #if PY_VERSION_EX >= 0x030d0000
316+ #if PY_VERSION_HEX >= 0x030d0000
317317 ::PyMapping_HasKeyStringWithError (obj.ptr(), *name) == 1
318318#else
319319 ::PyMapping_HasKeyString (obj.ptr(), *name)
@@ -429,7 +429,7 @@ v8::Intercepted CPythonObject::NamedQuery(v8::Local<v8::Name> prop, const v8::Pr
429429 if (*name)
430430 exists = PyGen_Check (obj.ptr ()) || ::PyObject_HasAttrString (obj.ptr (), *name) ||
431431 (::PyMapping_Check (obj.ptr ()) &&
432- #if PY_VERSION_EX >= 0x030d0000
432+ #if PY_VERSION_HEX >= 0x030d0000
433433 ::PyMapping_HasKeyStringWithError (obj.ptr(), *name) == 1
434434#else
435435 ::PyMapping_HasKeyString (obj.ptr(), *name)
@@ -457,7 +457,7 @@ v8::Intercepted CPythonObject::NamedDeleter(v8::Local<v8::Name> prop, const v8::
457457
458458 if (!::PyObject_HasAttrString (obj.ptr (), *name) &&
459459 ::PyMapping_Check (obj.ptr()) &&
460- #if PY_VERSION_EX >= 0x030d0000
460+ #if PY_VERSION_HEX >= 0x030d0000
461461 ::PyMapping_HasKeyStringWithError (obj.ptr(), *name) == 1
462462#else
463463 ::PyMapping_HasKeyString (obj.ptr(), *name)
@@ -663,7 +663,7 @@ v8::Intercepted CPythonObject::IndexedQuery(uint32_t index, const v8::PropertyCa
663663 snprintf (buf, sizeof (buf), " %d" , index);
664664
665665 if (
666- #if PY_VERSION_EX >= 0x030d0000
666+ #if PY_VERSION_HEX >= 0x030d0000
667667 ::PyMapping_HasKeyStringWithError (obj.ptr(), buf) == 1
668668#else
669669 ::PyMapping_HasKeyString (obj.ptr(), buf)
0 commit comments