From 9459cabcc91cb22e12da3f6ddba189c744807779 Mon Sep 17 00:00:00 2001 From: Asher Mancinelli Date: Wed, 16 Oct 2019 21:16:52 -0700 Subject: [PATCH] Update vm/src/obj/objint.rs Co-Authored-By: Noah <33094578+coolreader18@users.noreply.github.com> --- vm/src/obj/objint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/src/obj/objint.rs b/vm/src/obj/objint.rs index 875538cf1..cab079188 100644 --- a/vm/src/obj/objint.rs +++ b/vm/src/obj/objint.rs @@ -576,7 +576,7 @@ impl PyInt { #[pymethod(name = "__sizeof__")] fn sizeof(&self, _vm: &VirtualMachine) -> usize { - (size_of::() + ((self.value.bits() + 7) & !7)) / 8 + size_of::() + ((self.value.bits() + 7) & !7) / 8) } #[pymethod]