Skip to content

Commit 5ef2434

Browse files
committed
slots: remove duplicate pymethods from type
1 parent 70bdd9a commit 5ef2434

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

crates/vm/src/builtins/type.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -956,12 +956,10 @@ impl PyType {
956956
)
957957
}
958958

959-
#[pymethod]
960959
pub fn __ror__(zelf: PyObjectRef, other: PyObjectRef, vm: &VirtualMachine) -> PyObjectRef {
961960
or_(other, zelf, vm)
962961
}
963962

964-
#[pymethod]
965963
pub fn __or__(zelf: PyObjectRef, other: PyObjectRef, vm: &VirtualMachine) -> PyObjectRef {
966964
or_(zelf, other, vm)
967965
}

0 commit comments

Comments
 (0)