[Python-Dev] PyErr_NewExceptionWithDoc

Georg Brandl g.brandl at gmx.net
Thu Oct 22 17:43:04 CEST 2009


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?

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.



More information about the Python-Dev mailing list