[docs] [issue19833] asyncio: patches to document EventLoop and add more examples

STINNER Victor report at bugs.python.org
Fri Nov 29 16:58:59 CET 2013


STINNER Victor added the comment:

> Since there are many event loop methods, I structured the doc so that methods are grouped in different sections: see the existing "delayed calls" and "creating connections" sections.

Seriously, I read the documentation three times (HTML and the source), but I didn't notice that asyncio.call_later() is not a function, but a method of an object.

> I'm not saying it's the best solution (is it?), but I think it would be nice to be consistent :)

There are too many methods, it's a good solution. I will rewrite asyncio_doc_eventloop.patch to group the methods.

Before that, here is a patch to mention the class for methods.

----------
Added file: http://bugs.python.org/file32891/asyncio_doc_methods.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19833>
_______________________________________


More information about the docs mailing list