docs: def _iter_vars(mod):
      """Iterate through a list of variables define in a module's
      public namespace."""
      vars = sorted(var for var in dir(mod) if _is_public(var))
      for var in vars:
          yield getattr(mod, var)