Skip to content

Commit

Permalink
Eliminate magic number as default argument to iter_lines (#2616)
Browse files Browse the repository at this point in the history
  • Loading branch information
svidovich authored Feb 11, 2022
1 parent 6c0bd2f commit a692f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botocore/response.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __next__(self):

next = __next__

def iter_lines(self, chunk_size=1024, keepends=False):
def iter_lines(self, chunk_size=_DEFAULT_CHUNK_SIZE, keepends=False):
"""Return an iterator to yield lines from the raw stream.
This is achieved by reading chunk of bytes (of size chunk_size) at a
Expand Down

0 comments on commit a692f50

Please sign in to comment.