[docs] [issue17351] Fixed python3 descriptor documentation example + removal of explicit "object" inheritance in docs

Terry J. Reedy report at bugs.python.org
Sat Mar 9 05:43:56 CET 2013


Terry J. Reedy added the comment:

The respective howto and examples authors should give their OK for deleting '(object)' in case they are trying to keep one text compatible across 2 and 3. I added the other two to the nosy list.

Doc/howto/descriptor.rst -- Raymond H.
Doc/howto/sorting.rst -- Raymond H.
Doc/howto/logging-cookbook.rst -- Vinay S.
Doc/library/unittest.mock-examples.rst -- Michael F.

Since raise AttributeError(message) works in 2.x, I think that should definitely be changed in descriptor.rst.

I also think the regular docs can be changed without further ado.
Doc/library/contextlib.rst
Doc/library/functions.rst

Phil, your name does not have a Contributor Agreement *. If it should, say so and lets figure out why not. Otherwise, please fill out one at
http://www.python.org/psf/contrib/
Choose paper mail, paper scan and email, or javascript e-form.

----------
nosy: +michael.foord, terry.reedy, vinay.sajip
stage:  -> patch review
type:  -> behavior
versions: +Python 3.2, Python 3.3, Python 3.4 -Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17351>
_______________________________________


More information about the docs mailing list