Author marco.buttu
Recipients docs@python, marco.buttu
Date 2013-09-19.17:26:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379611586.05.0.268234554629.issue19054@psf.upfronthosting.co.za>
In-reply-to
Content
I think in the descriptor howto, at this point:

>>> class MyClass(object):
    x = RevealAccess(10, 'var "x"')
    y = 5

or the prompt should not have been, or there is a wrong indentation.
Furthermore, in Python 3:

http://docs.python.org/3/howto/descriptor.html

we can remove the explicit derivation from `object`
History
Date User Action Args
2013-09-19 17:26:26marco.buttusetrecipients: + marco.buttu, docs@python
2013-09-19 17:26:26marco.buttusetmessageid: <1379611586.05.0.268234554629.issue19054@psf.upfronthosting.co.za>
2013-09-19 17:26:26marco.buttulinkissue19054 messages
2013-09-19 17:26:25marco.buttucreate