Python descriptors are not transparent when they're first used
Seth Gordon
sethg-Dp9fwfP21SfQT0dZR+AlfA at public.gmane.org
Wed Aug 1 12:49:09 EDT 2007
Cole Tuininga wrote:
>
> If you were to instead have done:
> print foo.quux # Note the lack of ` marks
>
> It would have displayed None
When I changed the code to take out the ` marks, I still got
"<WriteOnly.WriteOnly object ...>" in the last line of output.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list