aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/poplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/poplib.py')
-rw-r--r--Lib/poplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/poplib.py b/Lib/poplib.py
index 0caed18205c..ead661fdac6 100644
--- a/Lib/poplib.py
+++ b/Lib/poplib.py
@@ -123,7 +123,7 @@ class POP3:
resp, o = self._getline()
if self._debugging > 1: print('*resp*', repr(resp))
c = resp[:1]
- if c != '+':
+ if c != b'+':
raise error_proto(resp)
return resp