SlotDesctuctor -> SlotDestructor

This commit is contained in:
James Webber
2021-08-08 21:05:30 -04:00
parent 9652c79f1d
commit fee5909609

View File

@@ -99,7 +99,7 @@ impl std::fmt::Debug for PyTypeSlots {
}
#[pyimpl]
pub trait SlotDesctuctor: PyValue {
pub trait SlotDestructor: PyValue {
#[pyslot]
fn tp_del(zelf: &PyObjectRef, vm: &VirtualMachine) -> PyResult<()> {
if let Some(zelf) = zelf.downcast_ref() {