diff options
author | Éric Araujo <merwok@netwok.org> | 2010-11-22 03:09:19 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2010-11-22 03:09:19 (GMT) |
commit | 28053fb174cd548629b8c94cba02ce837aeb9e5b (patch) | |
tree | b5450a4b4e121f3a9b649aa4f6e00a4dcbde88bf /Doc/library/sqlite3.rst | |
parent | d4bbab278fc5021f5adbf4ae336e2754ca2037b3 (diff) | |
download | cpython-28053fb174cd548629b8c94cba02ce837aeb9e5b.zip cpython-28053fb174cd548629b8c94cba02ce837aeb9e5b.tar.gz cpython-28053fb174cd548629b8c94cba02ce837aeb9e5b.tar.bz2 |
Remove unnecessary `object` base class in docs (#10366).
Also add a note about inheritance from `object` being default.
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r-- | Doc/library/sqlite3.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 9aa7b38..3cad148 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -710,7 +710,7 @@ Letting your object adapt itself This is a good approach if you write the class yourself. Let's suppose you have a class like this:: - class Point(object): + class Point: def __init__(self, x, y): self.x, self.y = x, y |