From: Fred Drake Date: Mon, 9 Apr 2001 15:57:06 +0000 (+0000) Subject: Fix typo in example (\b should be \n in string literal). X-Git-Tag: v2.1c1~149 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=819815abeac2c2197833ee5ef313db376e31f57f;p=thirdparty%2FPython%2Fcpython.git Fix typo in example (\b should be \n in string literal). This closes SF bug #414279. --- diff --git a/Doc/lib/libasyncore.tex b/Doc/lib/libasyncore.tex index 3c42c3c920ec..cce0d50ebea9 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