Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(52)

Unified Diff: Doc/c-api/exceptions.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/ACKS.txt ('k') | Doc/c-api/number.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/c-api/exceptions.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/c-api/exceptions.rst Mon Jul 25 09:47:18 2011 -0400
@@ -354,10 +354,10 @@
.. c:function:: PyObject* PyErr_NewException(char *name, PyObject *base, PyObject *dict)
- This utility function creates and returns a new exception class. The *name*
+ This utility function creates and returns a new exception object. The *name*
argument must be the name of the new exception, a C string of the form
- ``module.classname``. The *base* and *dict* arguments are normally *NULL*.
- This creates a class object derived from :exc:`Exception` (accessible in C as
+ ``module.class``. The *base* and *dict* arguments are normally *NULL*. This
+ creates a class object derived from :exc:`Exception` (accessible in C as
:c:data:`PyExc_Exception`).
The :attr:`__module__` attribute of the new class is set to the first part (up
« no previous file with comments | « Doc/ACKS.txt ('k') | Doc/c-api/number.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+