From e86a17e65e2155534cccbf9d582c12f3c5270eb8 Mon Sep 17 00:00:00 2001 From: jortel Date: Wed, 8 Sep 2010 13:58:28 +0000 Subject: Fix epydocs. --- suds/plugin.py | 28 +++++++--------------------- suds/sax/date.py | 2 +- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/suds/plugin.py b/suds/plugin.py index f05e22f..061c564 100644 --- a/suds/plugin.py +++ b/suds/plugin.py @@ -47,30 +47,18 @@ class DocumentContext(Context): @ivar url: The URL. @type url: str @ivar document: Either the XML text or the B{parsed} document root. - @type document: (str|L{sax.Element}) + @type document: (str|L{sax.element.Element}) """ pass - -class InvokeContext(Context): - """ - The method invocaton context. - @ivar method: The name of the method. - @type method: str - @ivar params: The parameters passed. - @type params: list - @ivar params: The return object. - @type params: object - """ - -class MessageContext(InvokeContext): +class MessageContext(Context): """ The context for sending the soap envelope. - @ivar envelope: The soap envelope I{root} element to be sent. - @type envelope: L{sax.Element} + @ivar envelope: The soap envelope to be sent. + @type envelope: (str|L{sax.element.Element}) @ivar reply: The reply. - @type reply: (str|L{Element}|object) + @type reply: (str|L{sax.element.Element}|object) """ pass @@ -250,10 +238,8 @@ class Method: """ @param name: The method name. @type name: str - @param ctx: A context. - @type ctx: L{Context} - @param plugins: A list of plugins (targets). - @type plugins: list + @param domain: A plugin domain. + @type domain: L{PluginDomain} """ self.name = name self.domain = domain diff --git a/suds/sax/date.py b/suds/sax/date.py index b564d9a..6e31c4c 100644 --- a/suds/sax/date.py +++ b/suds/sax/date.py @@ -341,7 +341,7 @@ class Timezone: @cvar local: The (A) local TZ offset. @type local: int @cvar patten: The regex patten to match TZ. - @type patten: L{re.RegexObject} + @type patten: re.Pattern """ pattern = re.compile('([zZ])|([\-\+][0-9]{2}:[0-9]{2})') -- cgit v1.2.1