code: def load_wordlist(name: str) -> Iterator[str]:
      
      data = pkgutil.get_data('pydocstyle', 'data/' + name)
      if data is not None:
          text = data.decode('utf8')
          for line in text.splitlines():
              line = COMMENT_RE.sub('', line).strip()
              if line:
                  yield line
docs: Iterate over lines of a wordlist data file.
  
      `name` should be the name of a package data file within the data/
      directory.
  
      Whitespace and #-prefixed comments are stripped from each line.