From da7964ce7cbdc0e28c4558caabcf36d384253ed1 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 28 Feb 2008 14:03:55 +0100 Subject: refactored docstrings for epydoc --- wsgitools/scgi/asynchronous.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'wsgitools/scgi/asynchronous.py') diff --git a/wsgitools/scgi/asynchronous.py b/wsgitools/scgi/asynchronous.py index 4953b05..4b1ed8f 100644 --- a/wsgitools/scgi/asynchronous.py +++ b/wsgitools/scgi/asynchronous.py @@ -179,13 +179,16 @@ class SCGIServer(asyncore.dispatcher): """SCGI Server for WSGI applications. It does not use multiple processes or multiple threads.""" def __init__(self, wsgiapp, port, interface="localhost", error=sys.stderr): - """wsgiapp is the wsgi application to be run. - port is an int representing the TCP port number to be used. - interface is a string specifying the network interface to bind which - defaults to "localhost" making the server inaccessible over - network. - error is a file-like object being passed as wsgi.error in the environ - parameter defaulting to stderr.""" + """ + @param wsgiapp: is the wsgi application to be run. + @type port: number + @param port: is an int representing the TCP port number to be used. + @type interface: str + @param interface: is a string specifying the network interface to bind + which defaults to "localhost" making the server inaccessible + over network. + @param error: is a file-like object being passed as wsgi.error in the + environ parameter defaulting to stderr.""" asyncore.dispatcher.__init__(self) self.wsgiapp = wsgiapp self.error = error -- cgit v1.2.3