aboutsummaryrefslogtreecommitdiffstats
path: root/botcore
diff options
context:
space:
mode:
Diffstat (limited to 'botcore')
-rw-r--r--botcore/site_api.py2
-rw-r--r--botcore/utils/scheduling.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/botcore/site_api.py b/botcore/site_api.py
index dbdf4f3b..d3a58b9c 100644
--- a/botcore/site_api.py
+++ b/botcore/site_api.py
@@ -26,7 +26,7 @@ class ResponseCodeError(ValueError):
Args:
response (:obj:`aiohttp.ClientResponse`): The response object from the request.
response_json: The JSON response returned from the request, if any.
- request_text: The text of the request, if any.
+ response_text: The text of the request, if any.
"""
self.status = response.status
self.response_json = response_json or {}
diff --git a/botcore/utils/scheduling.py b/botcore/utils/scheduling.py
index 164f6b10..d9c3937a 100644
--- a/botcore/utils/scheduling.py
+++ b/botcore/utils/scheduling.py
@@ -209,7 +209,7 @@ class Scheduler:
def create_task(
- coro: typing.Awaitable,
+ coro: typing.Coroutine,
*,
suppressed_exceptions: tuple[typing.Type[Exception]] = (),
event_loop: typing.Optional[asyncio.AbstractEventLoop] = None,