[docs] [issue30096] Update examples in abc documentation to use abc.ABC

Eric Appelt report at bugs.python.org
Thu Apr 20 17:30:24 EDT 2017


Eric Appelt added the comment:

I created a PR to update the documentation to use this pattern and follow Raymond's suggestion of showing both ways to define an abc.

In order to make the examples comprehensible when read from beginning to end, I reordered the classes so that abc.ABC is described first.

----------
nosy: +Eric Appelt

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


More information about the docs mailing list