diff options
Diffstat (limited to 'sphinx/util/compat.py')
-rw-r--r-- | sphinx/util/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/compat.py b/sphinx/util/compat.py index 7edb04cd3..20975f83d 100644 --- a/sphinx/util/compat.py +++ b/sphinx/util/compat.py @@ -38,7 +38,7 @@ class _DeprecationWrapper(object): warnings.warn("sphinx.util.compat.%s is deprecated and will be " "removed in Sphinx 1.7, please use the standard " "library version instead." % attr, - RemovedInSphinx17Warning, stacklevel=2) + RemovedInSphinx17Warning) return self._deprecated[attr] return getattr(self._mod, attr) |