Method
set_args
(&self, args: ArgIterable, vm: &VirtualMachine)
Source from the content-addressed store, hash-verified
| 598 | |
| 599 | #[pygetset(setter)] |
| 600 | fn set_args(&self, args: ArgIterable, vm: &VirtualMachine) -> PyResult<()> { |
| 601 | let args = args.iter(vm)?.collect::<PyResult<Vec<_>>>()?; |
| 602 | *self.args.write() = PyTuple::new_ref(args, &vm.ctx); |
| 603 | Ok(()) |
| 604 | } |
| 605 | |
| 606 | #[pygetset] |
| 607 | pub fn __traceback__(&self) -> Option<PyTracebackRef> { |
Callers
nothing calls this directly
Tested by
no test coverage detected