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

Raymond Hettinger report at bugs.python.org
Tue Apr 18 17:28:05 EDT 2017


Raymond Hettinger added the comment:

+1 It would be nice to have the examples show the usual best practices.

That said, in the doc for abc.ABC itself, it would be nice to show an brief example both ways (much like we do for the property() docstring) to show the relationship between the two.  In other words, I want people to inherit from ABC but don't want the knowledge of ABCMeta to be lost.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list