Mercurial > cpython-lru_cache-weakref
diff Doc/api/exceptions.tex @ 38246:ee2139935a1d legacy-trunk
PyErr_NewException now accepts a tuple of base classes as its
"base" parameter.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 23 May 2006 11:17:21 +0000 |
| parents | ebd573210e25 |
| children | df04f192a2a2 |
line wrap: on
line diff
--- a/Doc/api/exceptions.tex Tue May 23 11:04:24 2006 +0000 +++ b/Doc/api/exceptions.tex Tue May 23 11:17:21 2006 +0000 @@ -341,7 +341,8 @@ 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}
