Message108239
In the documentation section on Extending Python with C or C++ there is an Intermezzo on Errors and Exceptions which shows how to create a custom exception in an extension module. I was just following these instructions for the first time and got to the end and was left wondering how to actually raise the custom exception in my new module, and it wasn't immediately obvious, so I propose to add a brief explanation to the end of that section explaining how. Patch attached. |
|
Date |
User |
Action |
Args |
2010-06-20 16:55:06 | jonathan.underwood | set | recipients:
+ jonathan.underwood, docs@python |
2010-06-20 16:55:06 | jonathan.underwood | set | messageid: <1277052906.52.0.842872873757.issue9037@psf.upfronthosting.co.za> |
2010-06-20 16:55:04 | jonathan.underwood | link | issue9037 messages |
2010-06-20 16:55:04 | jonathan.underwood | create | |
|