Skip to content

Commit cb28a74

Browse files
committed
docs: fix minor grammar issues in reference docs
1 parent 3bfd03a commit cb28a74

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGES/12400.doc.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Fixed minor grammatical issues in the documentation for
2+
:meth:`~aiohttp.StreamReader.exception`, the WebSocket response
3+
``exception()`` method, and the certifi example in client advanced usage.

docs/client_advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ Example: Use certifi
644644
^^^^^^^^^^^^^^^^^^^^
645645

646646
By default, Python uses the system CA certificates. In rare cases, these may not be
647-
installed or Python is unable to find them, resulting in a error like
647+
installed or Python is unable to find them, resulting in an error like
648648
`ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate`
649649

650650
One way to work around this problem is to use the `certifi` package::

docs/streams.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Helpers
180180

181181
.. method:: StreamReader.exception()
182182

183-
Get the exception occurred on data reading.
183+
Get the exception that occurred on data reading.
184184

185185
.. method:: is_eof()
186186

docs/web_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ and :ref:`aiohttp-web-signals` handlers::
10991099

11001100
.. method:: exception()
11011101

1102-
Returns last occurred exception or None.
1102+
Returns the last exception that occurred, or None.
11031103

11041104
.. method:: ping(message=b'')
11051105
:async:

0 commit comments

Comments
 (0)