Message198096
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` |
|
Date |
User |
Action |
Args |
2013-09-19 17:26:26 | marco.buttu | set | recipients:
+ marco.buttu, docs@python |
2013-09-19 17:26:26 | marco.buttu | set | messageid: <1379611586.05.0.268234554629.issue19054@psf.upfronthosting.co.za> |
2013-09-19 17:26:26 | marco.buttu | link | issue19054 messages |
2013-09-19 17:26:25 | marco.buttu | create | |
|