summaryrefslogtreecommitdiffstats
path: root/Doc/library/asynchat.rst
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2012-05-15 13:46:00 (GMT)
committerGiampaolo Rodola' <g.rodola@gmail.com>2012-05-15 13:46:00 (GMT)
commit0fb41b56ea1415943569ee6dda1c9d1aec952c37 (patch)
tree7d08b3032d1d0518f0f4cc3f623a2b96f77c780a /Doc/library/asynchat.rst
parentffa1d0b8d53f426f1f9a0d47f25440b8994c4fb0 (diff)
downloadcpython-0fb41b56ea1415943569ee6dda1c9d1aec952c37.zip
cpython-0fb41b56ea1415943569ee6dda1c9d1aec952c37.tar.gz
cpython-0fb41b56ea1415943569ee6dda1c9d1aec952c37.tar.bz2
remove unused import in asyncore doc
Diffstat (limited to 'Doc/library/asynchat.rst')
-rw-r--r--Doc/library/asynchat.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/asynchat.rst b/Doc/library/asynchat.rst
index 75b3cda..55c61d7 100644
--- a/Doc/library/asynchat.rst
+++ b/Doc/library/asynchat.rst
@@ -197,6 +197,9 @@ The :meth:`handle_request` method is called once all relevant input has been
marshalled, after setting the channel terminator to ``None`` to ensure that
any extraneous data sent by the web client are ignored. ::
+
+ import asynchat
+
class http_request_handler(asynchat.async_chat):
def __init__(self, sock, addr, sessions, log):