docs: def _fmto_groups(self):
          """Mapping from group to a set of formatoptions"""
          ret = defaultdict(set)
          for key in self:
              ret[getattr(self, key).group].add(getattr(self, key))
          return dict(ret)