summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sqlalchemy/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/events.py b/lib/sqlalchemy/events.py
index 7aa30015c..bbba00148 100644
--- a/lib/sqlalchemy/events.py
+++ b/lib/sqlalchemy/events.py
@@ -602,7 +602,7 @@ class ConnectionEvents(event.Events):
arguments should be returned as a three-tuple in this case::
@event.listens_for(Engine, "before_execute", retval=True)
- def before_execute(conn, conn, clauseelement, multiparams, params):
+ def before_execute(conn, clauseelement, multiparams, params):
# do something with clauseelement, multiparams, params
return clauseelement, multiparams, params