Irit Katriel <iritkatr...@gmail.com> added the comment:
It's like this: >>> import foo >>> dir(foo) ['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'annotations', 'x'] >>> foo.annotations _Feature((3, 7, 0, 'beta', 1), (3, 11, 0, 'alpha', 0), 16777216) So the attribute in foo is called annotations, i.e. it's not private. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26120> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com