diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-05-28 12:29:29 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-05-28 12:29:29 -0400 |
| commit | 7e7372fc8597eea4e4bf04fa5e013ac01a2c0b84 (patch) | |
| tree | 3c88070c42d47cce33c8422c819221b3d5e49ace /lib/sqlalchemy/orm/instrumentation.py | |
| parent | ba299476b827ada34d01360e3024f87dd56dc967 (diff) | |
| download | sqlalchemy-7e7372fc8597eea4e4bf04fa5e013ac01a2c0b84.tar.gz | |
- add a comment regarding why __init__ has a return value
Diffstat (limited to 'lib/sqlalchemy/orm/instrumentation.py')
| -rw-r--r-- | lib/sqlalchemy/orm/instrumentation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/instrumentation.py b/lib/sqlalchemy/orm/instrumentation.py index aa051490c..7fe3335e0 100644 --- a/lib/sqlalchemy/orm/instrumentation.py +++ b/lib/sqlalchemy/orm/instrumentation.py @@ -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 = """\ |
