Skip to content

Commit 9c3ced0

Browse files
committed
remove PyNumberMethods from HeapTypeExt
1 parent 6a45c3e commit 9c3ced0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

vm/src/builtins/type.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ pub struct PyType {
4343
pub struct HeapTypeExt {
4444
pub name: PyRwLock<PyStrRef>,
4545
pub slots: Option<PyTupleTyped<PyStrRef>>,
46-
pub number_methods: PyNumberMethods,
4746
pub sequence_methods: PySequenceMethods,
4847
pub mapping_methods: PyMappingMethods,
4948
}
@@ -149,7 +148,6 @@ impl PyType {
149148
let heaptype_ext = HeapTypeExt {
150149
name: PyRwLock::new(name),
151150
slots: None,
152-
number_methods: PyNumberMethods::default(),
153151
sequence_methods: PySequenceMethods::default(),
154152
mapping_methods: PyMappingMethods::default(),
155153
};
@@ -765,7 +763,6 @@ impl PyType {
765763
let heaptype_ext = HeapTypeExt {
766764
name: PyRwLock::new(name),
767765
slots: heaptype_slots.to_owned(),
768-
number_methods: PyNumberMethods::default(),
769766
sequence_methods: PySequenceMethods::default(),
770767
mapping_methods: PyMappingMethods::default(),
771768
};

0 commit comments

Comments
 (0)