apostofes <aivainjr141 at gmail.com> added the comment: would adding an argument to dir be a possible solution, like, ``` l = [1, 2, 3] dir(l, categorize=True) ``` ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue47254> _______________________________________