diff options
Diffstat (limited to 'sphinx/highlighting.py')
-rw-r--r-- | sphinx/highlighting.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py index 7d5956570..dd248107c 100644 --- a/sphinx/highlighting.py +++ b/sphinx/highlighting.py @@ -161,8 +161,6 @@ class PygmentsBridge(object): if self.dest == 'html': return hlsource else: - if not isinstance(hlsource, text_type): # Py2 / Pygments < 1.6 - hlsource = hlsource.decode() return hlsource.translate(tex_hl_escape_map_new) def get_stylesheet(self): |