(&self, vm: &VirtualMachine)
| 112 | |
| 113 | impl ToPyException for FormatParseError { |
| 114 | fn to_pyexception(&self, vm: &VirtualMachine) -> PyBaseExceptionRef { |
| 115 | match self { |
| 116 | Self::UnmatchedBracket => vm.new_value_error("expected '}' before end of string"), |
| 117 | _ => vm.new_value_error("Unexpected error parsing format string"), |
| 118 | } |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | fn format_internal( |
no outgoing calls
no test coverage detected