> I'd like to make this [propset] a standard built-in, 

+1 -- I find this to be an attractive syntax

> I'd also like to change property so that the doc 
> string defaults to the doc string of the getter.

+1 -- This should also be done for classmethod,
staticmethod, and anything else that wraps functions.

Alternatively, the doc string could be made a little
more informative:

__doc__ = 'property of function %s: %s' % (f.__name__, f.__doc__) 


Raymond
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to