(exc: PyType, value: Option<PyObject>)
| 298 | /// `value` is the exception instance, or a tuple of arguments to pass to the exception constructor. |
| 299 | #[inline] |
| 300 | pub fn new_lazy_init(exc: PyType, value: Option<PyObject>) -> PyErr { |
| 301 | PyErr { |
| 302 | ptype: exc.into_object(), |
| 303 | pvalue: value, |
| 304 | ptraceback: None, |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | /// Print a standard traceback to sys.stderr. |
| 309 | pub fn print(self, py: Python) { |
nothing calls this directly
no test coverage detected