Skip to content

Commit d188f05

Browse files
committed
Fix errors introduced during rebasing
1 parent b265601 commit d188f05

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

vm/src/obj/objlist.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use super::objsequence::{
1010
};
1111
use super::objstr;
1212
use super::objtype;
13-
use num_bigint::ToBigInt;
1413
use num_traits::ToPrimitive;
1514

1615
// set_item:

vm/src/vm.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ impl VirtualMachine {
121121
self.new_exception(os_error, msg)
122122
}
123123

124-
pub fn new_overflow_error(&mut self, msg: String) -> PyObjectRef {
125-
let overflow_error = self.ctx.exceptions.overflow_error.clone();
126-
self.new_exception(overflow_error, msg)
127-
}
128-
129124
/// Create a new python ValueError object. Useful for raising errors from
130125
/// python functions implemented in rust.
131126
pub fn new_value_error(&mut self, msg: String) -> PyObjectRef {

0 commit comments

Comments
 (0)