summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/orm/interfaces.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py
index fc8a0e392..d34cca7fa 100644
--- a/lib/sqlalchemy/orm/interfaces.py
+++ b/lib/sqlalchemy/orm/interfaces.py
@@ -135,7 +135,7 @@ class MapperExtension(object):
created from that row.
The method can choose to create the instance itself, or it can
- return None to indicate normal object creation should take
+ return EXT_CONTINUE to indicate normal object creation should take
place.
mapper
@@ -149,6 +149,9 @@ class MapperExtension(object):
class\_
The class we are mapping.
+
+ return value
+ A new object instance, or EXT_CONTINUE
"""
return EXT_CONTINUE