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 <>
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:

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