Remove unnecessary slot wrapper overwriting

This commit is contained in:
Moreal
2021-08-14 13:17:43 +09:00
parent f813a54622
commit ecf787713e

View File

@@ -467,8 +467,6 @@ impl PyType {
let typ = new(metatype, name.as_str(), base, bases, attributes, slots)
.map_err(|e| vm.new_type_error(e))?;
vm.ctx.add_slot_wrappers(&typ);
// avoid deadlock
let attributes = typ
.attributes