Skip to content

Commit

Permalink
Update waiter description (#4108)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-finnigan authored Apr 30, 2024
1 parent fd8eece commit b61f7f9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boto3/docs/waiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def document_resource_waiter(
'Waits until this {} is {}. This method calls '
':py:meth:`{}.Waiter.{}.wait` which polls '
':py:meth:`{}.Client.{}` every {} seconds until '
'a successful state is reached. An error is returned '
'a successful state is reached. An error is raised '
'after {} failed checks.'.format(
resource_name,
' '.join(resource_waiter_model.name.split('_')[2:]),
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/docs/test_docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_resource_waiter_help(self):
':py:meth:`MyService.Waiter.sample_operation_complete.wait` '
'which polls :py:meth:`MyService.Client.sample_operation` every '
'15 seconds until a successful state is reached. An error '
'is returned after 40 failed checks.'
'is raised after 40 failed checks.'
),
' **Request Syntax**',
' ::',
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/docs/test_waiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_document_resource_waiters(self):
':py:meth:`MyService.Waiter.sample_operation_complete.wait` '
'which polls :py:meth:`MyService.Client.sample_operation` '
'every 15 seconds until a successful state is reached. An '
'error is returned after 40 failed checks.'
'error is raised after 40 failed checks.'
),
' **Request Syntax**',
' ::',
Expand Down

0 comments on commit b61f7f9

Please sign in to comment.