From 88d06a724079f0bef9660c9a9932dbf884d480e6 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Wed, 29 Aug 2007 19:08:30 +0000 Subject: [PATCH] Make terminator constants bytes. --- Lib/poplib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/poplib.py b/Lib/poplib.py index ead661fdac6..4e2c03b5296 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