mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Remove unnecessary slot wrapper overwriting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user