[docs] [issue29134] contextlib doc bug

Senthil Kumaran report at bugs.python.org
Wed Jan 4 00:09:06 EST 2017


Senthil Kumaran added the comment:

I am going to vote for "not a bug" here. From the context is it understood that the `ContextBaseClass` is to be provided by the user.

> Existing context managers that already have a base class can be extended by using ContextDecorator as a mixin class:

The idea here is the illustrate the Mixin possibility with a Base class and not to provide a full example with Base class code as well.

@Marco, also not a good ticket add more doc strings to this module.rst. If the docs of those can be improved, they can done separately, concentrating on all the possible improvements.

----------
nosy: +orsenthil
resolution:  -> not a bug
status: open -> closed

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


More information about the docs mailing list