From 2c607a3b8e0584fa20ce38095c9158f623501cee Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 30 Nov 2011 20:28:22 +0100 Subject: documentation update * added a number of internal links (L{...}) * some fixes * some additions --- wsgitools/scgi/forkpool.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'wsgitools/scgi/forkpool.py') diff --git a/wsgitools/scgi/forkpool.py b/wsgitools/scgi/forkpool.py index 8ccd579..39c9dfd 100644 --- a/wsgitools/scgi/forkpool.py +++ b/wsgitools/scgi/forkpool.py @@ -163,6 +163,10 @@ class SCGIServer: """state: 0 means idle and 1 means working. These values are also sent as strings '0' and '1' over the socket.""" def __init__(self, pid, sock, state): + """ + @type pid: int + @type state: int + """ self.pid = pid self.sock = sock self.state = state @@ -192,8 +196,8 @@ class SCGIServer: @type reusesocket: None or socket.socket @param reusesocket: If a socket is passed, do not create a socket. Instead use given socket as listen socket. The passed socket - must be set up for accepting tcp connections (i.e. AF_INET, - SOCK_STREAM with bind and listen called). + must be set up for accepting tcp connections (i.e. C{AF_INET}, + C{SOCK_STREAM} with bind and listen called). """ assert hasattr(error, "write") self.wsgiapp = wsgiapp -- cgit v1.2.3