summaryrefslogtreecommitdiff
path: root/sphinx/builders/manpage.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-11-20 19:50:08 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-11-21 06:47:15 -0800
commitb8631079bfac00c7823b25990105b85a180208b4 (patch)
treec579987fbf4d5cee55ba32b9f4166af0365486e1 /sphinx/builders/manpage.py
parentc4df9b5de2f57387a23ec5b28f74b5e760040dd6 (diff)
downloadsphinx-git-b8631079bfac00c7823b25990105b85a180208b4.tar.gz
Replace six.string_types with native str
Diffstat (limited to 'sphinx/builders/manpage.py')
-rw-r--r--sphinx/builders/manpage.py3
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: