From: Jeff Widman Date: Thu, 17 Dec 2015 13:54:50 +0000 (-0800) Subject: Make docs listing of param order for event.listen match the code X-Git-Tag: rel_1_1_0b1~84^2~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30be49c157e6ebe47c32abb98a570a013418b1e6;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Make docs listing of param order for event.listen match the code --- diff --git a/doc/build/core/event.rst b/doc/build/core/event.rst index e6f6c9e06b..ced81a6b27 100644 --- a/doc/build/core/event.rst +++ b/doc/build/core/event.rst @@ -14,9 +14,9 @@ Event Registration ------------------ Subscribing to an event occurs through a single API point, the :func:`.listen` function, -or alternatively the :func:`.listens_for` decorator. These functions -accept a user-defined listening function, a string identifier which identifies the event to be -intercepted, and a target. Additional positional and keyword arguments to these +or alternatively the :func:`.listens_for` decorator. These functions accept a +target, a string identifier which identifies the event to be intercepted, and +a user-defined listening function. Additional positional and keyword arguments to these two functions may be supported by specific types of events, which may specify alternate interfaces for the given event function, or provide instructions regarding secondary event targets based on the given target.