]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make terminator constants bytes.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 29 Aug 2007 19:08:30 +0000 (19:08 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 29 Aug 2007 19:08:30 +0000 (19:08 +0000)
Lib/poplib.py

index ead661fdac6c5cb5781fd562fc23e640e7fd064b..4e2c03b52965fa9959a0743a16a9d987a7ffc67c 100644 (file)
@@ -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