[Python-ideas] Dynamic getting of __doc__ of a function

Marko Ristin-Kaufmann marko.ristin at gmail.com
Mon Oct 8 00:51:54 EDT 2018

Hi Steve,

> > * built-in class function ignoring the property getter (some_func.__doc__
> > set to a property returns the property instead of invoking the getter)
> Not just functions, it is all instances. Properties are only invoked if
> they are on the class object, not the instance.

I see. The concrete function is simply handled like an instance of the
class "function" and not in any special way.

Is that something I could fix? Or is it still not clear how this should be
fixed? I am totally unaware of the bigger picture and wider repercussions

Cheers Marko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181008/19e38f84/attachment.html>

More information about the Python-ideas mailing list