mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 04:22:16 +00:00
This is an object, not a function declaration. Really.
This commit is contained in:
@@ -44,7 +44,7 @@ extern "C"
|
||||
static PyObject* enum_repr(PyObject* self_)
|
||||
{
|
||||
PyObject *mod = PyObject_GetAttrString( self_, "__module__");
|
||||
object auto_free(handle<>(mod));
|
||||
object auto_free = object(handle<>(mod));
|
||||
enum_object* self = downcast<enum_object>(self_);
|
||||
if (!self->name)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user