Instantiate an exception with no arguments. This function should only be used with builtin exception types; if a user-defined exception type is passed in, it may not be fully initialized; try using [`vm.invoke_exception()`][Self::invoke_exception] or [`exceptions::ExceptionCtor`][crate::exceptions::ExceptionCtor] instead.
(&self, exc_type: PyTypeRef)
| 143 | /// [`vm.invoke_exception()`][Self::invoke_exception] or |
| 144 | /// [`exceptions::ExceptionCtor`][crate::exceptions::ExceptionCtor] instead. |
| 145 | pub fn new_exception_empty(&self, exc_type: PyTypeRef) -> PyBaseExceptionRef { |
| 146 | self.new_exception(exc_type, vec![]) |
| 147 | } |
| 148 | |
| 149 | /// Instantiate an exception with `msg` as the only argument. |
| 150 | /// This function should only be used with builtin exception types; if a user-defined exception |
no test coverage detected