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

which was just before set to True in instance->allocate_layout()
This commit is contained in:
Robert Haschke 2020-12-16 05:21:40 +01:00 committed by GitHub
parent ffb113d1d8
commit d9fa70561e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -340,8 +340,6 @@ inline PyObject *make_new_instance(PyTypeObject *type) {
// Allocate the value/holder internals:
inst->allocate_layout();
inst->owned = true;
return self;
}