[Python-Dev] PyErr_NewExceptionWithDoc

Brett Cannon brett at python.org
Thu Oct 22 20:30:38 CEST 2009

On Thu, Oct 22, 2009 at 08:43, Georg Brandl <g.brandl at gmx.net> wrote:

> Hi,
> issue #7033 proposes a new C API that creates a new exception class with
> a docstring.  Since exception classes should be documented, and adding
> the docstring after creating is not a one-liner, I would say it is a useful
> addition.  What do you all think?
Seems fine to me.

> Georg
> --
> Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
> Four shall be the number of spaces thou shalt indent, and the number of thy
> indenting shall be four. Eight shalt thou not indent, nor either indent
> thou
> two, excepting that thou then proceed to four. Tabs are right out.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/brett%40python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20091022/cc11e35a/attachment.htm>

More information about the Python-Dev mailing list