diff options
author | Georg Brandl <georg@python.org> | 2006-05-23 11:17:21 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-05-23 11:17:21 (GMT) |
commit | 658d5133285ccf32184ad8cc2899dfe3440aea2d (patch) | |
tree | e46bb429b43802a601441338a2d3d194a0bbc43b /Doc | |
parent | da89b99533e4239344a4e31067e26325ae2b4c1a (diff) | |
download | cpython-658d5133285ccf32184ad8cc2899dfe3440aea2d.zip cpython-658d5133285ccf32184ad8cc2899dfe3440aea2d.tar.gz cpython-658d5133285ccf32184ad8cc2899dfe3440aea2d.tar.bz2 |
PyErr_NewException now accepts a tuple of base classes as its
"base" parameter.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/api/exceptions.tex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index ed419a8..e1bfb38 100644 --- a/Doc/api/exceptions.tex +++ b/Doc/api/exceptions.tex @@ -341,7 +341,8 @@ for each thread. The \member{__module__} attribute of the new class is set to the first part (up to the last dot) of the \var{name} argument, and the class name is set to the last part (after the last dot). The - \var{base} argument can be used to specify an alternate base class. + \var{base} argument can be used to specify alternate base classes; + it can either be only one class or a tuple of classes. The \var{dict} argument can be used to specify a dictionary of class variables and methods. \end{cfuncdesc} |