File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ use super::objsequence::{
10
10
} ;
11
11
use super :: objstr;
12
12
use super :: objtype;
13
- use num_bigint:: ToBigInt ;
14
13
use num_traits:: ToPrimitive ;
15
14
16
15
// set_item:
Original file line number Diff line number Diff line change @@ -121,11 +121,6 @@ impl VirtualMachine {
121
121
self . new_exception ( os_error, msg)
122
122
}
123
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
124
/// Create a new python ValueError object. Useful for raising errors from
130
125
/// python functions implemented in rust.
131
126
pub fn new_value_error ( & mut self , msg : String ) -> PyObjectRef {
You can’t perform that action at this time.
0 commit comments