code: def print_spelling_errors(filename, encoding='utf8'):
      
  
      filesize = os.stat(filename).st_size
      if filesize:
          sys.stdout.write('Misspelled Words:\n')
          with io.open(filename, encoding=encoding) as wordlist:
              for line in wordlist:
                  sys.stdout.write('    ' + line)
  
      return 1 if filesize else 0
docs: Print misspelled words returned by sphinxcontrib-spelling