summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
diff options
context:
space:
mode:
authorRobert Lehmann <mail@robertlehmann.de>2015-02-24 07:48:14 +0100
committerRobert Lehmann <mail@robertlehmann.de>2015-02-24 07:48:14 +0100
commit5c6411bfb113117cb692c2162e5d189601a99760 (patch)
tree06725fa17b02605f19af9fc920c995655208b967 /sphinx/util/pycompat.py
parent2c22f737bdc995adf25983d9ddac07ba19ef958f (diff)
downloadsphinx-git-5c6411bfb113117cb692c2162e5d189601a99760.tar.gz
Also restore pycompat.class_types and deprecate it properly.
Diffstat (limited to 'sphinx/util/pycompat.py')
-rw-r--r--sphinx/util/pycompat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/pycompat.py b/sphinx/util/pycompat.py
index 8b7ac92ba..e01177744 100644
--- a/sphinx/util/pycompat.py
+++ b/sphinx/util/pycompat.py
@@ -135,6 +135,7 @@ sys.modules[__name__] = _DeprecationWrapper(sys.modules[__name__], dict(
any = any,
next = next,
open = open,
+ class_types = class_types,
base_exception = BaseException,
relpath = __import__('os').path.relpath,
StringIO = io.StringIO,