Serhiy Storchaka added the comment: Ah, now I see what is wrong.
Actually AddressFamily is missing in text output of pydoc too. Because "AddressFamily" is not included in the __all__ list. SocketType is included, but this is different SocketType, SocketType from _socket (see issue20386). Here is a patch which fixes this issue. ---------- assignee: -> serhiy.storchaka stage: -> patch review versions: +Python 3.5 Added file: http://bugs.python.org/file35380/socket__all__.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com