Fix for documentation bug. Fixes issue 3904.

This commit is contained in:
Josiah Carlson 2008-09-19 02:07:22 +00:00
parent fbb388b39b
commit 5aaa3e579d
1 changed files with 2 additions and 2 deletions

View File

@ -278,8 +278,8 @@ any extraneous data sent by the web client are ignored. ::
class http_request_handler(asynchat.async_chat):
def __init__(self, conn, addr, sessions, log):
asynchat.async_chat.__init__(self, conn=conn)
def __init__(self, sock, addr, sessions, log):
asynchat.async_chat.__init__(self, sock=sock)
self.addr = addr
self.sessions = sessions
self.ibuffer = []