How to override the doc of an object instance.

David Huard david.huard at
Wed Jun 21 15:58:25 CEST 2006

On Wed, 21 Jun 2006 15:39:02 +0200, Maric Michaud wrote:

> This is w.__class__.x.__doc__.


So in order to implement what I want, I should rather consider an
ipython hack to print w.__class__.x.__doc__ when it exists, instead of
w.x.__doc_ ? Does this makes sense or it will ruin the standard behaviour?


More information about the Python-list mailing list