diff options
author | Georg Brandl <georg@python.org> | 2020-09-08 20:20:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-08 20:20:19 +0200 |
commit | 9f5672672bd61f7149d2a165b49f0617a1a9fe8e (patch) | |
tree | ad3d62c5c167c6a75edf67a88c20341c77566c7e /external | |
parent | d9a9e9ee40eb9815ecc3d9ec9d6f5e57499009d2 (diff) | |
download | pygments-git-9f5672672bd61f7149d2a165b49f0617a1a9fe8e.tar.gz |
all: remove "u" string prefix (#1536)
* all: remove "u" string prefix
* util: remove unirange
Since Python 3.3, all builds are wide unicode compatible.
* unistring: remove support for narrow-unicode builds
which stopped being relevant with Python 3.3
Diffstat (limited to 'external')
-rw-r--r-- | external/rst-directive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/rst-directive.py b/external/rst-directive.py index a381ce43..937c3765 100644 --- a/external/rst-directive.py +++ b/external/rst-directive.py @@ -76,7 +76,7 @@ class Pygments(Directive): lexer = TextLexer() # take an arbitrary option if more than one is given formatter = self.options and VARIANTS[list(self.options)[0]] or DEFAULT - parsed = highlight(u'\n'.join(self.content), lexer, formatter) + parsed = highlight('\n'.join(self.content), lexer, formatter) return [nodes.raw('', parsed, format='html')] directives.register_directive('sourcecode', Pygments) |