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

@ -1,6 +1,6 @@
import sqlite3
class Point(object):
class Point:
def __init__(self, x, y):
self.x, self.y = x, y