diff options
author | Helmut Grohne <helmut@subdivi.de> | 2011-11-30 20:28:22 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2011-11-30 20:28:22 +0100 |
commit | 2c607a3b8e0584fa20ce38095c9158f623501cee (patch) | |
tree | 70ec95635fd1ec208c6961f669ce45fed112c302 /wsgitools/scgi/forkpool.py | |
parent | 5b5e52f8d09674eb628cdf0770b9b9b101ca862e (diff) | |
download | wsgitools-2c607a3b8e0584fa20ce38095c9158f623501cee.tar.gz |
documentation update
* added a number of internal links (L{...})
* some fixes
* some additions
Diffstat (limited to 'wsgitools/scgi/forkpool.py')
-rw-r--r-- | wsgitools/scgi/forkpool.py | 8 |
1 files changed, 6 insertions, 2 deletions
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 |