summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/util.py')
-rw-r--r--lib/sqlalchemy/orm/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/util.py b/lib/sqlalchemy/orm/util.py
index 37c88907b..c858ca102 100644
--- a/lib/sqlalchemy/orm/util.py
+++ b/lib/sqlalchemy/orm/util.py
@@ -547,7 +547,7 @@ def object_mapper(instance):
raise exc.UnmappedInstanceError(instance)
def class_mapper(class_, compile=True):
- """Given a class (or an object), return the primary Mapper associated with the key.
+ """Given a class, return the primary Mapper associated with the key.
Raises UnmappedClassError if no mapping is configured.
@@ -597,7 +597,7 @@ def _is_mapped_class(cls):
manager = attributes.manager_of_class(cls)
return manager and _INSTRUMENTOR in manager.info
return False
-
+
def instance_str(instance):
"""Return a string describing an instance."""