From: Jeremy Hylton Date: Wed, 29 Aug 2007 19:08:30 +0000 (+0000) Subject: Make terminator constants bytes. X-Git-Tag: v3.0a1~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88d06a724079f0bef9660c9a9932dbf884d480e6;p=thirdparty%2FPython%2Fcpython.git Make terminator constants bytes. --- diff --git a/Lib/poplib.py b/Lib/poplib.py index ead661fdac6c..4e2c03b52965 100644 --- a/Lib/poplib.py +++ b/Lib/poplib.py @@ -28,8 +28,8 @@ POP3_PORT = 110 POP3_SSL_PORT = 995 # Line terminators (we always output CRLF, but accept any of CRLF, LFCR, LF) -CR = '\r' -LF = '\n' +CR = b'\r' +LF = b'\n' CRLF = CR+LF