From 599fb6392b1d9f3aa38715cd92e1e135e08d188f Mon Sep 17 00:00:00 2001 From: "Justin Wood (Callek)" Date: Thu, 29 May 2014 13:43:13 -0400 Subject: once kwarg in event funcs is new in 0.9.4 Document once kwarg in event.listen and event.listen_for as being present in 0.9.4 instead of 0.9.3, testing and changelog agree with me --- lib/sqlalchemy/event/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/event/api.py b/lib/sqlalchemy/event/api.py index b27ce7993..d6889febb 100644 --- a/lib/sqlalchemy/event/api.py +++ b/lib/sqlalchemy/event/api.py @@ -53,7 +53,7 @@ def listen(target, identifier, fn, *args, **kw): event.listen(Mapper, "before_configure", on_config, once=True) - .. versionadded:: 0.9.3 Added ``once=True`` to :func:`.event.listen` + .. versionadded:: 0.9.4 Added ``once=True`` to :func:`.event.listen` and :func:`.event.listens_for`. """ @@ -84,7 +84,7 @@ def listens_for(target, identifier, *args, **kw): do_config() - .. versionadded:: 0.9.3 Added ``once=True`` to :func:`.event.listen` + .. versionadded:: 0.9.4 Added ``once=True`` to :func:`.event.listen` and :func:`.event.listens_for`. """ -- cgit v1.2.1