From 5aaa3e579dc58b95bd6090c0e9ee717d6835623b Mon Sep 17 00:00:00 2001 From: Josiah Carlson Date: Fri, 19 Sep 2008 02:07:22 +0000 Subject: [PATCH] Fix for documentation bug. Fixes issue 3904. --- Doc/library/asynchat.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst index ff6432e3884..44d3007ee83 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 = []