mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Whitespace normalization.
This commit is contained in:
parent
83a8c393b0
commit
536cf99536
82 changed files with 33875 additions and 33923 deletions
|
@ -269,7 +269,7 @@ class StreamReader(Codec):
|
|||
if self.linebuffer:
|
||||
self.charbuffer = "".join(self.linebuffer)
|
||||
self.linebuffer = None
|
||||
|
||||
|
||||
# read until we get the required number of characters (if available)
|
||||
while True:
|
||||
# can the request can be satisfied from the character buffer?
|
||||
|
@ -335,7 +335,7 @@ class StreamReader(Codec):
|
|||
if not keepends:
|
||||
line = line.splitlines(False)[0]
|
||||
return line
|
||||
|
||||
|
||||
readsize = size or 72
|
||||
line = ""
|
||||
# If size is given, we call read() only once
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue