commit | 28053fb174cd548629b8c94cba02ce837aeb9e5b | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Mon Nov 22 03:09:19 2010 +0000 |
committer | Éric Araujo <merwok@netwok.org> | Mon Nov 22 03:09:19 2010 +0000 |
tree | b5450a4b4e121f3a9b649aa4f6e00a4dcbde88bf | |
parent | d4bbab278fc5021f5adbf4ae336e2754ca2037b3 [diff] [blame] |
Remove unnecessary `object` base class in docs (#10366). Also add a note about inheritance from `object` being default.
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index f81e157..4845bca 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst
@@ -604,7 +604,7 @@ code execution:: # example code for resolving the builtin descriptor types - class _foo(object): + class _foo: __slots__ = ['foo'] slot_descriptor = type(_foo.foo)