(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine)
| 1504 | impl Initializer for PySystemExit { |
| 1505 | type Args = FuncArgs; |
| 1506 | fn slot_init(zelf: PyObjectRef, args: FuncArgs, vm: &VirtualMachine) -> PyResult<()> { |
| 1507 | // Call BaseException_init first (handles args) |
| 1508 | PyBaseException::slot_init(zelf, args, vm) |
| 1509 | // Note: code is computed dynamically via system_exit_code getter |
| 1510 | // so we don't need to set it here explicitly |
| 1511 | } |
| 1512 | |
| 1513 | fn init(_zelf: PyRef<Self>, _args: Self::Args, _vm: &VirtualMachine) -> PyResult<()> { |
| 1514 | unreachable!("slot_init is defined") |
nothing calls this directly
no test coverage detected