summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-11-12 16:31:27 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2018-11-12 16:31:27 -0800
commit6fbf4a2f9919407f80cb7256e3723502f44c1f37 (patch)
tree9a48510b0e08d6bf714685d7372125e9b5547ce2 /sphinx/util/pycompat.py
parentb6fb8083179452c0b7240653891c299b5429f990 (diff)
downloadsphinx-git-6fbf4a2f9919407f80cb7256e3723502f44c1f37.tar.gz
Deprecate sphinx.util.pycompat.u
It is now simply a constant equal to the empty string. Provides no further utility.
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index a33a832c8..a3521b01e 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -27,7 +27,7 @@ NoneType = type(None)
# Python 2/3 compatibility
# prefix for Unicode strings
-u = ''
+u = '' # RemovedInSphinx40Warning
# sys_encoding: some kind of default system encoding; should be used with