]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- add a comment regarding why __init__ has a return value
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 28 May 2011 16:29:29 +0000 (12:29 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 28 May 2011 16:29:29 +0000 (12:29 -0400)
lib/sqlalchemy/orm/instrumentation.py

index aa051490cf8959af4140e84b7c2ef6b04ca63122..7fe3335e0c22b5f674c65258d498dbf9dca2f33f 100644 (file)
@@ -661,7 +661,8 @@ def _generate_init(class_, class_manager):
     assert original__init__
 
     # Go through some effort here and don't change the user's __init__
-    # calling signature.
+    # calling signature, including the unlikely case that it has
+    # a return value.
     # FIXME: need to juggle local names to avoid constructor argument
     # clashes.
     func_body = """\