mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove unnecessary object
base class in docs (#10366).
Also add a note about inheritance from `object` being default.
This commit is contained in:
parent
d4bbab278f
commit
28053fb174
13 changed files with 26 additions and 17 deletions
|
@ -1,6 +1,6 @@
|
|||
import sqlite3
|
||||
|
||||
class Point(object):
|
||||
class Point:
|
||||
def __init__(self, x, y):
|
||||
self.x, self.y = x, y
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue