Update vm/src/obj/objint.rs

Co-Authored-By: Noah <33094578+coolreader18@users.noreply.github.com>
This commit is contained in:
Asher Mancinelli
2019-10-16 21:16:52 -07:00
committed by GitHub
parent 89c76b1235
commit 9459cabcc9

View File

@@ -576,7 +576,7 @@ impl PyInt {
#[pymethod(name = "__sizeof__")]
fn sizeof(&self, _vm: &VirtualMachine) -> usize {
(size_of::<Self>() + ((self.value.bits() + 7) & !7)) / 8
size_of::<Self>() + ((self.value.bits() + 7) & !7) / 8)
}
#[pymethod]