Guido van Rossum <gu...@python.org> added the comment:
FWIW it might be a good idea to look into how PEP 585 could benefit from the improvements to dir(). Currently, dir(list) and dir(list[int]) are quite different -- only the former shows list methods like append and insert. See https://github.com/gvanrossum/cpython/tree/pep585 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40098> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com