Skip to content

Commit 882603b

Browse files
Apply suggestions from code review
Fix comment typos Co-authored-by: Nate Prewitt <[email protected]>
1 parent 4dd9cb1 commit 882603b

File tree

1 file changed

+2
-2
lines changed
  • python-packages/smithy-http/smithy_http/aio

1 file changed

+2
-2
lines changed

python-packages/smithy-http/smithy_http/aio/crt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ async def _marshal_request(
298298

299299
body = request.body
300300
if isinstance(body, bytes | bytearray):
301-
# If the body is already directly in memory, wrap in in a BytesIO to hand
301+
# If the body is already directly in memory, wrap in a BytesIO to hand
302302
# off to CRT.
303303
crt_body = BytesIO(body)
304304
else:
@@ -311,7 +311,7 @@ async def _marshal_request(
311311
# with read methods will be read in chunks so as not to exhaust memory.
312312
body = AsyncBytesReader(body)
313313

314-
# Start the read task int the background.
314+
# Start the read task in the background.
315315
read_task = asyncio.create_task(self._consume_body_async(body, crt_body))
316316

317317
# Keep track of the read task so that it doesn't get garbage colllected,

0 commit comments

Comments
 (0)