summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2007-08-29 19:08:30 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2007-08-29 19:08:30 (GMT)
commit88d06a724079f0bef9660c9a9932dbf884d480e6 (patch)
tree4646e189e0185036a505e619793e1b4666b46672
parenta5dc3db3d162b10b51131113d19ce16244c9fe0e (diff)
downloadcpython-88d06a724079f0bef9660c9a9932dbf884d480e6.zip
cpython-88d06a724079f0bef9660c9a9932dbf884d480e6.tar.gz
cpython-88d06a724079f0bef9660c9a9932dbf884d480e6.tar.bz2
Make terminator constants bytes.
-rw-r--r--Lib/poplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/poplib.py b/Lib/poplib.py
index ead661f..4e2c03b 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