aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-sphinxcontrib-adadomain/fix-imports.patch
blob: 27234bcf261769e1b41928ce9bc06dfd46120c01 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                       
--- a/sphinxcontrib/adadomain.py
+++ b/sphinxcontrib/adadomain.py
@@ -17,14 +17,13 @@
 import string
 
 from docutils import nodes
-from docutils.parsers.rst import directives
+from docutils.parsers.rst import Directive, directives
 
 from sphinx import addnodes
 from sphinx.roles import XRefRole
 from sphinx.locale import l_, _
 from sphinx.directives import ObjectDescription
 from sphinx.domains import Domain, ObjType, Index
-from sphinx.util.compat import Directive
 from sphinx.util.nodes import make_refnode
 from sphinx.util.docfields import Field, TypedField