mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Don't use (in this case) unnecessary python2 unicode literals
This commit is contained in:
parent
7acfe972a4
commit
ddeb627cef
@ -1,7 +1,7 @@
|
|||||||
# Literally included file using Python highlighting
|
# Literally included file using Python highlighting
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
foo = u"Including Unicode characters: üöä"
|
foo = "Including Unicode characters: üöä"
|
||||||
|
|
||||||
class Foo:
|
class Foo:
|
||||||
pass
|
pass
|
||||||
|
@ -232,7 +232,7 @@ if pygments:
|
|||||||
(".//div[@class='inc-lines highlight-text']//pre",
|
(".//div[@class='inc-lines highlight-text']//pre",
|
||||||
r'^class Foo:\n pass\nclass Bar:\n$'),
|
r'^class Foo:\n pass\nclass Bar:\n$'),
|
||||||
(".//div[@class='inc-startend highlight-text']//pre",
|
(".//div[@class='inc-startend highlight-text']//pre",
|
||||||
ur'^foo = u"Including Unicode characters: üöä"\n$'),
|
ur'^foo = "Including Unicode characters: üöä"\n$'),
|
||||||
(".//div[@class='inc-preappend highlight-text']//pre",
|
(".//div[@class='inc-preappend highlight-text']//pre",
|
||||||
r'(?m)^START CODE$'),
|
r'(?m)^START CODE$'),
|
||||||
(".//div[@class='inc-pyobj-dedent highlight-python']//span",
|
(".//div[@class='inc-pyobj-dedent highlight-python']//span",
|
||||||
|
Loading…
Reference in New Issue
Block a user