diff options
| author | Éric Araujo <merwok@netwok.org> | 2010-11-22 03:09:19 +0000 |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2010-11-22 03:09:19 +0000 |
| commit | 28053fb174cd548629b8c94cba02ce837aeb9e5b (patch) | |
| tree | b5450a4b4e121f3a9b649aa4f6e00a4dcbde88bf /Doc/reference/datamodel.rst | |
| parent | d4bbab278fc5021f5adbf4ae336e2754ca2037b3 (diff) | |
| download | cpython-git-28053fb174cd548629b8c94cba02ce837aeb9e5b.tar.gz | |
Remove unnecessary `object` base class in docs (#10366).
Also add a note about inheritance from `object` being default.
Diffstat (limited to 'Doc/reference/datamodel.rst')
| -rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 783259c451..adedefc99c 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1987,7 +1987,7 @@ to work correctly if defined on an object's type, not in the object's instance dictionary. That behaviour is the reason why the following code raises an exception:: - >>> class C(object): + >>> class C: ... pass ... >>> c = C() |
