We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6603c46 commit 3d9fb36Copy full SHA for 3d9fb36
vm/src/stdlib/time.rs
@@ -350,7 +350,7 @@ mod time {
350
}
351
352
fn to_date_time(&self, vm: &VirtualMachine) -> PyResult<NaiveDateTime> {
353
- let invalid = || vm.new_overflow_error("invalid struct_time parameter".to_owned());
+ let invalid = || vm.new_overflow_error("mktime argument out of range".to_owned());
354
macro_rules! field {
355
($field:ident) => {
356
self.$field.clone().try_into_value(vm)?
0 commit comments