diff options
author | Fred Drake <fdrake@acm.org> | 2001-04-09 15:57:06 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-04-09 15:57:06 (GMT) |
commit | 819815abeac2c2197833ee5ef313db376e31f57f (patch) | |
tree | 7ffa822a0d76d8f7d91c1bdd7bd3926202d64129 /Doc/lib | |
parent | 9c846366eed26f7e6a843121a0bc1c3edb7ffcb4 (diff) | |
download | cpython-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.
Diffstat (limited to 'Doc/lib')
-rw-r--r-- | Doc/lib/libasyncore.tex | 2 |
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 |