update
This commit is contained in:
3
.CondaPkg/env/include/object.h
vendored
3
.CondaPkg/env/include/object.h
vendored
@@ -230,8 +230,7 @@ PyAPI_DATA(PyTypeObject) PyBool_Type;
|
||||
static inline Py_ssize_t Py_SIZE(PyObject *ob) {
|
||||
assert(ob->ob_type != &PyLong_Type);
|
||||
assert(ob->ob_type != &PyBool_Type);
|
||||
PyVarObject *var_ob = _PyVarObject_CAST(ob);
|
||||
return var_ob->ob_size;
|
||||
return _PyVarObject_CAST(ob)->ob_size;
|
||||
}
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
|
||||
# define Py_SIZE(ob) Py_SIZE(_PyObject_CAST(ob))
|
||||
|
||||
Reference in New Issue
Block a user