summaryrefslogtreecommitdiff
path: root/sphinx/util/nodes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-03-09 19:45:22 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-03-09 19:45:22 +0900
commitcca029a840f15375dc02c96478000ae9e82b0c1d (patch)
treebf816f5b7e20844ac7057d9990aca48bce980f5a /sphinx/util/nodes.py
parent7c712464bb80f67c2d2f7f2c495cffccb51126b7 (diff)
downloadsphinx-git-cca029a840f15375dc02c96478000ae9e82b0c1d.tar.gz
Update comment for patch to Element.copy()
Diffstat (limited to 'sphinx/util/nodes.py')
-rw-r--r--sphinx/util/nodes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py
index 391229280..60e0144b0 100644
--- a/sphinx/util/nodes.py
+++ b/sphinx/util/nodes.py
@@ -528,6 +528,7 @@ def process_only_nodes(document, tags):
# monkey-patch Element.copy to copy the rawsource and line
+# for docutils-0.14 or older versions.
def _new_copy(self):
# type: (nodes.Element) -> nodes.Element