Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 88d06a7

Browse files
committed
Make terminator constants bytes.
1 parent a5dc3db commit 88d06a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/poplib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class error_proto(Exception): pass
2828
POP3_SSL_PORT = 995
2929

3030
# Line terminators (we always output CRLF, but accept any of CRLF, LFCR, LF)
31-
CR = '\r'
32-
LF = '\n'
31+
CR = b'\r'
32+
LF = b'\n'
3333
CRLF = CR+LF
3434

3535

0 commit comments

Comments
 (0)