New submission from Ron Frederick:

The asyncio documentation defines the class 'asyncio.Server' in section 
18.5.1.15. However, this class is not exported by asyncio. It is defined in 
base_events.py but not in the __all__ list. The only class exported at the 
asyncio top level is asyncio.AbstractServer, defined in events.py.

I think the documentation should match the exports. Either Server should be 
exported out of base_events.py, or the documentation should only refer to 
asyncio.AbstractServer.

----------
components: asyncio
messages: 255476
nosy: Ron Frederick, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.Server class documented but not exported
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25749>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to