summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-04-09 15:57:06 (GMT)
committerFred Drake <fdrake@acm.org>2001-04-09 15:57:06 (GMT)
commit819815abeac2c2197833ee5ef313db376e31f57f (patch)
tree7ffa822a0d76d8f7d91c1bdd7bd3926202d64129
parent9c846366eed26f7e6a843121a0bc1c3edb7ffcb4 (diff)
downloadcpython-819815abeac2c2197833ee5ef313db376e31f57f.zip
cpython-819815abeac2c2197833ee5ef313db376e31f57f.tar.gz
cpython-819815abeac2c2197833ee5ef313db376e31f57f.tar.bz2
Fix typo in example (\b should be \n in string literal).
This closes SF bug #414279.
-rw-r--r--Doc/lib/libasyncore.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libasyncore.tex b/Doc/lib/libasyncore.tex
index 3c42c3c..cce0d50 100644
--- a/Doc/lib/libasyncore.tex
+++ b/Doc/lib/libasyncore.tex
@@ -178,7 +178,7 @@ class http_client(asyncore.dispatcher):
self.path = path
self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
self.connect( (host, 80) )
- self.buffer = 'GET %s HTTP/1.0\r\b\r\n' % self.path
+ self.buffer = 'GET %s HTTP/1.0\r\n\r\n' % self.path
def handle_connect(self):
pass