summaryrefslogtreecommitdiffstats
path: root/Doc/api/exceptions.tex
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-05-23 11:17:21 (GMT)
committerGeorg Brandl <georg@python.org>2006-05-23 11:17:21 (GMT)
commit658d5133285ccf32184ad8cc2899dfe3440aea2d (patch)
treee46bb429b43802a601441338a2d3d194a0bbc43b /Doc/api/exceptions.tex
parentda89b99533e4239344a4e31067e26325ae2b4c1a (diff)
downloadcpython-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/api/exceptions.tex')
-rw-r--r--Doc/api/exceptions.tex3
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}