summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/base.py')
-rw-r--r--lib/sqlalchemy/orm/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/base.py b/lib/sqlalchemy/orm/base.py
index 6553cf669..2cd4134d6 100644
--- a/lib/sqlalchemy/orm/base.py
+++ b/lib/sqlalchemy/orm/base.py
@@ -450,7 +450,7 @@ def class_mapper(class_, configure=True):
return mapper
-class InspectionAttr(object):
+class InspectionAttr:
"""A base class applied to all ORM objects that can be returned
by the :func:`_sa.inspect` function.
@@ -563,7 +563,7 @@ class InspectionAttrInfo(InspectionAttr):
return {}
-class _MappedAttribute(object):
+class _MappedAttribute:
"""Mixin for attributes which should be replaced by mapper-assigned
attributes.