summaryrefslogtreecommitdiff
path: root/sphinx/directives/other.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-17 17:35:12 +0100
committerGeorg Brandl <georg@python.org>2010-01-17 17:35:12 +0100
commitc362543fb9c5478ceee246abacb6f1f383e29449 (patch)
treeee780928dd0b074cc00ce45370ae79a9908749ac /sphinx/directives/other.py
parentbf381cf55d1bb6fde5e2c9842f7eadc3b5cdba39 (diff)
downloadsphinx-c362543fb9c5478ceee246abacb6f1f383e29449.tar.gz
Refactor util package.
Diffstat (limited to 'sphinx/directives/other.py')
-rw-r--r--sphinx/directives/other.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index d746ea62..4b82f4ab 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -14,9 +14,10 @@ from docutils.parsers.rst import directives
from sphinx import addnodes
from sphinx.locale import pairindextypes
-from sphinx.util import patfilter, ws_re, url_re, docname_join, \
- explicit_title_re
+from sphinx.util import ws_re, url_re, docname_join
+from sphinx.util.nodes import explicit_title_re
from sphinx.util.compat import Directive, directive_dwim, make_admonition
+from sphinx.util.matching import patfilter
class TocTree(Directive):