[Python-Dev] Declaring setters with getters

Phillip J. Eby pje at telecommunity.com
Wed Oct 31 20:01:01 CET 2007


At 11:09 AM 10/31/2007 -0700, Guido van Rossum wrote:
>Yes, though I think that if prop.fdel is None, we could use func in 
>both slots.

Eh?  Isn't prop.fdel supposed to be a single-argument function?  ISTM 
that C is the only place where fset and fdel are the same thing.



More information about the Python-Dev mailing list