summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/state.py')
-rw-r--r--lib/sqlalchemy/orm/state.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/state.py b/lib/sqlalchemy/orm/state.py
index 994cbe53e..0434f5f32 100644
--- a/lib/sqlalchemy/orm/state.py
+++ b/lib/sqlalchemy/orm/state.py
@@ -899,7 +899,7 @@ class InstanceState(interfaces.InspectionAttrInfo):
state._strong_obj = None
-class AttributeState(object):
+class AttributeState:
"""Provide an inspection interface corresponding
to a particular attribute on a particular mapped object.
@@ -997,7 +997,7 @@ class AttributeState(object):
return self.state.get_history(self.key, PASSIVE_OFF ^ INIT_OK)
-class PendingCollection(object):
+class PendingCollection:
"""A writable placeholder for an unloaded collection.
Stores items appended to and removed from a collection that has not yet