We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b265601 commit d188f05Copy full SHA for d188f05
vm/src/obj/objlist.rs
@@ -10,7 +10,6 @@ use super::objsequence::{
10
};
11
use super::objstr;
12
use super::objtype;
13
-use num_bigint::ToBigInt;
14
use num_traits::ToPrimitive;
15
16
// set_item:
vm/src/vm.rs
@@ -121,11 +121,6 @@ impl VirtualMachine {
121
self.new_exception(os_error, msg)
122
}
123
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
-
129
/// Create a new python ValueError object. Useful for raising errors from
130
/// python functions implemented in rust.
131
pub fn new_value_error(&mut self, msg: String) -> PyObjectRef {
0 commit comments