[docs] [issue19054] Descriptors howto

Marco Buttu report at bugs.python.org
Thu Sep 19 19:26:26 CEST 2013

New submission from Marco Buttu:

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`

assignee: docs at python
components: Documentation
messages: 198096
nosy: docs at python, marco.buttu
priority: normal
severity: normal
status: open
title: Descriptors howto
type: enhancement
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4

Python tracker <report at bugs.python.org>

More information about the docs mailing list