[Python-Dev] PyErr_NewExceptionWithDoc (original) (raw)
Georg Brandl g.brandl at gmx.net
Thu Oct 22 17:43:04 CEST 2009
- Previous message: [Python-Dev] readonly __doc__
- Next message: [Python-Dev] PyErr_NewExceptionWithDoc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] readonly __doc__
- Next message: [Python-Dev] PyErr_NewExceptionWithDoc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]