docs: def public(self) -> 'PrettyDir':
          """Returns public attributes of the inspected object."""
          return PrettyDir(
              self.obj, [pattr for pattr in self.pattrs if not pattr.name.startswith('_')]
          )