From a692f50213f4480f5fdf8faf30b87ad362bf0519 Mon Sep 17 00:00:00 2001 From: Samuel Vidovich Date: Fri, 11 Feb 2022 11:19:03 -0500 Subject: [PATCH] Eliminate magic number as default argument to iter_lines (#2616) --- botocore/response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botocore/response.py b/botocore/response.py index d160924cd2..b7abaaec75 100644 --- a/botocore/response.py +++ b/botocore/response.py @@ -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