From: Mike Bayer Date: Sun, 12 Jan 2014 22:15:41 +0000 (-0500) Subject: - bump up how many args for "named arg style" to four X-Git-Tag: rel_0_9_2~70 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86c3855c9bafb52cb71df7e958196d27ca4dc578;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - bump up how many args for "named arg style" to four --- diff --git a/lib/sqlalchemy/event/legacy.py b/lib/sqlalchemy/event/legacy.py index 0b0d290fa9..d8a66674d9 100644 --- a/lib/sqlalchemy/event/legacy.py +++ b/lib/sqlalchemy/event/legacy.py @@ -73,7 +73,7 @@ def _standard_listen_example(dispatch_descriptor, sample_target, fn): "\n # ... (event handling logic) ...\n" ) - if len(dispatch_descriptor.arg_names) > 2: + if len(dispatch_descriptor.arg_names) > 3: text += ( "\n# named argument style (new in 0.9)\n"