diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-11-20 19:50:08 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-11-21 06:47:15 -0800 |
commit | b8631079bfac00c7823b25990105b85a180208b4 (patch) | |
tree | c579987fbf4d5cee55ba32b9f4166af0365486e1 /sphinx/builders/manpage.py | |
parent | c4df9b5de2f57387a23ec5b28f74b5e760040dd6 (diff) | |
download | sphinx-git-b8631079bfac00c7823b25990105b85a180208b4.tar.gz |
Replace six.string_types with native str
Diffstat (limited to 'sphinx/builders/manpage.py')
-rw-r--r-- | sphinx/builders/manpage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/builders/manpage.py b/sphinx/builders/manpage.py index 25287f2be..a7bbe782d 100644 --- a/sphinx/builders/manpage.py +++ b/sphinx/builders/manpage.py @@ -13,7 +13,6 @@ from os import path from docutils.frontend import OptionParser from docutils.io import FileOutput -from six import string_types from sphinx import addnodes from sphinx.builders import Builder @@ -77,7 +76,7 @@ class ManualPageBuilder(Builder): logger.warning(__('"man_pages" config value references unknown ' 'document %s'), docname) continue - if isinstance(authors, string_types): + if isinstance(authors, str): if authors: authors = [authors] else: |