Ethan Furman added the comment: As I said in msg209237: ------------------------------------------------------------------------------------ > The containers are there to help with discoverability. If you want to know > what > all the (common) AF values are you can either do > > [name for name in dir(socket) if name.isupper() and > name.startswith('AF_')] > > or > > list(socket.AddressFamily) ------------------------------------------------------------------------------------
The Enum classes have been documented, so they should be in __all__. ---------- nosy: +ethan.furman _______________________________________ 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