summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/mutable.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-11-21 20:36:35 +0100
committerFederico Caselli <cfederico87@gmail.com>2021-11-22 15:03:17 +0000
commit0b95f0055be252b13e99b0a944466f60b5e367ff (patch)
tree6ae4135fd408c4e69582c4f6fa458b007553aeab /lib/sqlalchemy/ext/mutable.py
parente04baa2953fb5d0d29f5dca01ea6882bf1fa1cd4 (diff)
downloadsqlalchemy-0b95f0055be252b13e99b0a944466f60b5e367ff.tar.gz
Remove object in class definition
References: #4600 Change-Id: I2a62ddfe00bc562720f0eae700a497495d7a987a
Diffstat (limited to 'lib/sqlalchemy/ext/mutable.py')
-rw-r--r--lib/sqlalchemy/ext/mutable.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/ext/mutable.py b/lib/sqlalchemy/ext/mutable.py
index 4eed3b2af..7e277d379 100644
--- a/lib/sqlalchemy/ext/mutable.py
+++ b/lib/sqlalchemy/ext/mutable.py
@@ -113,7 +113,7 @@ mapping against the ``my_data`` table::
from sqlalchemy import mapper
- class MyDataClass(object):
+ class MyDataClass:
pass
# associates mutation listeners with MyDataClass.data
@@ -286,7 +286,7 @@ objects to each of the ``Vertex.start`` and ``Vertex.end`` attributes::
Column('y2', Integer),
)
- class Vertex(object):
+ class Vertex:
pass
mapper(Vertex, vertices, properties={
@@ -366,7 +366,7 @@ from ..sql.base import SchemaEventTarget
from ..util import memoized_property
-class MutableBase(object):
+class MutableBase:
"""Common base class to :class:`.Mutable`
and :class:`.MutableComposite`.