En Wed, 25 Jul 2007 08:05:37 -0300, jelle <[EMAIL PROTECTED]> escribió:
> I'm working on documenting wrapped C++ methods. > The thing is that I'd like to add docstrings to a method, but python > won't allow me to: > TypeError: attribute '__doc__' of 'instancemethod' objects is not > writable Set the __doc__ on the *function* from which you build the instance method. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list