diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-10-09 15:27:44 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-10-09 15:27:44 +0900 |
| commit | bbccb4968065747c791e0d3e83d7770a69abab0b (patch) | |
| tree | 17202f60e5c7dab7847365ff40b4ffc92735a472 /sphinx/directives/patches.py | |
| parent | 23bb8bee85b1871de5964e65fda7b3aac34fb7e4 (diff) | |
| download | sphinx-git-bbccb4968065747c791e0d3e83d7770a69abab0b.tar.gz | |
Fix #9688: ImportError for set_classes()
Diffstat (limited to 'sphinx/directives/patches.py')
| -rw-r--r-- | sphinx/directives/patches.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py index 0a076ad4f..dd01cb34a 100644 --- a/sphinx/directives/patches.py +++ b/sphinx/directives/patches.py @@ -15,6 +15,7 @@ from docutils import nodes from docutils.nodes import Node, make_id, system_message from docutils.parsers.rst import directives from docutils.parsers.rst.directives import images, tables +from docutils.parsers.rst.roles import set_classes from sphinx import addnodes from sphinx.deprecation import RemovedInSphinx60Warning |
