Commit d9fa7056 by Robert Haschke Committed by GitHub

style: remove redundant instance->owned = true (#2723)

which was just before set to True in instance->allocate_layout()
parent ffb113d1
...@@ -340,8 +340,6 @@ inline PyObject *make_new_instance(PyTypeObject *type) { ...@@ -340,8 +340,6 @@ inline PyObject *make_new_instance(PyTypeObject *type) {
// Allocate the value/holder internals: // Allocate the value/holder internals:
inst->allocate_layout(); inst->allocate_layout();
inst->owned = true;
return self; return self;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment