Remove unnecessary object base class in docs (#10366).

Also add a note about inheritance from `object` being default.
This commit is contained in:
Éric Araujo 2010-11-22 03:09:19 +00:00
parent d4bbab278f
commit 28053fb174
13 changed files with 26 additions and 17 deletions

View file

@ -604,7 +604,7 @@ for arbitrary getset descriptors invoking these may trigger
code execution::
# example code for resolving the builtin descriptor types
class _foo(object):
class _foo:
__slots__ = ['foo']
slot_descriptor = type(_foo.foo)