summaryrefslogtreecommitdiff
path: root/sphinx/roles.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-29 12:28:38 +0100
committerGeorg Brandl <georg@python.org>2013-03-29 12:28:38 +0100
commitf44fa45baf08225fc7cfc847b090a2169b22ba72 (patch)
tree5e7309ab3c4ccac1c2a96da0d8e74d830e2ff8b7 /sphinx/roles.py
parentec38679f4f86e6da51f239afd2327f81ef7ba075 (diff)
downloadsphinx-f44fa45baf08225fc7cfc847b090a2169b22ba72.tar.gz
remove xfileref_role() and directive_dwim() which were deprecated in 1.0
Diffstat (limited to 'sphinx/roles.py')
-rw-r--r--sphinx/roles.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/sphinx/roles.py b/sphinx/roles.py
index 02c5ad8f..6703b6b8 100644
--- a/sphinx/roles.py
+++ b/sphinx/roles.py
@@ -10,7 +10,6 @@
"""
import re
-import warnings
from docutils import nodes, utils
from docutils.parsers.rst import roles
@@ -316,10 +315,3 @@ specific_docroles = {
for rolename, func in specific_docroles.iteritems():
roles.register_local_role(rolename, func)
-
-
-# backwards compatibility alias
-def xfileref_role(*args, **kwds):
- warnings.warn('xfileref_role is deprecated, use XRefRole',
- DeprecationWarning, stacklevel=2)
- return XRefRole()(*args, **kwds)