From: Josiah Carlson Date: Fri, 19 Sep 2008 02:07:22 +0000 (+0000) Subject: Fix for documentation bug. Fixes issue 3904. X-Git-Tag: v2.6~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5aaa3e579dc58b95bd6090c0e9ee717d6835623b;p=thirdparty%2FPython%2Fcpython.git Fix for documentation bug. Fixes issue 3904. --- diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst index ff6432e38848..44d3007ee831 100644 --- a/Doc/library/asynchat.rst +++ b/Doc/library/asynchat.rst @@ -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 = []