Skip to content

Clarification of wordings used in asyncio-exceptions.rst #148541

@manoj-km24

Description

@manoj-km24

Documentation

In the asyncio exceptions documentation (https://docs.python.org/3/library/asyncio-exceptions.html), the word "operation" has been used for all the explanations to denote asyncio-operations such as a task execution. Could it be rephrased from "operation" to "asyncio operation" for better understanding ?

Example from the documentation -

.. exception:: CancelledError

   The operation has been cancelled.

   This exception can be caught to perform custom operations
   when asyncio Tasks are cancelled.  In almost all situations the
   exception must be re-raised.

   .. versionchanged:: 3.8

      :exc:`CancelledError` is now a subclass of :class:`BaseException` rather than :class:`Exception`.

I could open a PR to fix the wordings across the file. I am new to docs and open for explanations and feedbacks.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions