]> granicus.if.org Git - python/commitdiff
Fix for documentation bug. Fixes issue 3904.
authorJosiah Carlson <josiah.carlson@gmail.com>
Fri, 19 Sep 2008 02:07:22 +0000 (02:07 +0000)
committerJosiah Carlson <josiah.carlson@gmail.com>
Fri, 19 Sep 2008 02:07:22 +0000 (02:07 +0000)
Doc/library/asynchat.rst

index ff6432e38848ec0d16e473a32ba353fda7d39e08..44d3007ee83159e77b90b4632b1619cff21b2f4c 100644 (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 = []