[Python-Dev] [Python-checkins] cpython (3.4): asyncio: Document Task.cancel() properly.

Terry Reedy tjreedy at udel.edu
Mon Apr 7 18:39:57 CEST 2014


On 4/7/2014 5:22 AM, victor.stinner wrote:

>       def cancel(self):
> +        """Request that a task to cancel itself.

For proper English, this should be one of these:
"Request that a task cancel itself."
"Request a task to cancel itself."

I think the first is slightly better.

TJR



More information about the Python-Dev mailing list