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

Skip to content

Commit a4eb2d5

Browse files
committed
Fix comment.
1 parent bc8e642 commit a4eb2d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/codecs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ def readline(self, size=None, keepends=True):
306306
while True:
307307
data = self.read(readsize)
308308
if data:
309-
# If we're at a "\r" read one # extra character # (which might
310-
# be a "\n") to get a proper # line ending. If the stream is
309+
# If we're at a "\r" read one extra character (which might
310+
# be a "\n") to get a proper line ending. If the stream is
311311
# temporarily exhausted we return the wrong line ending.
312312
if data.endswith(u"\r"):
313313
data += self.read(size=1, chars=1)

0 commit comments

Comments
 (0)