On 11.01.2005, at 19:35, Alex Martelli wrote:

harold fellermann <[EMAIL PROTECTED]> wrote:
   ...
But, I cannot
even find out a way to set the doc string, when I CREATE a class using
type(name,bases,dict) ... At least this should be possible, IMHO.

x=type('x',(),dict(__doc__='hi there'))
x.__doc__
'hi there'

yes, you're right ... a subsequent question, that puzzles me: where can I apply for the "most-stupid-question"-award, now *g*

thanks anyway,

- harold -

--
The opposite of a correct statement is a false statement.
But the opposite of a profound truth may be another profound truth.
-- Niels Bohr

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to