For PyErr_Format(), note that the exception parameter can be a string or
class, but not an instance (since an instance will be created using the formatted message string as the constructor parameter).
Showing
Please register or sign in to comment