summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-10-27 01:49:57 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-10-27 01:49:59 +0900
commit13803a79e7179f40a27f46d5a5a05f1eebbcbb63 (patch)
tree2cb19dd2900c96c57f601d46bdfbfc0652127b13 /doc/development/tutorials/examples/autodoc_intenum.py
parent2be9d6b092965a2f9354da66b645bf5ea76ce288 (diff)
downloadsphinx-git-13803a79e7179f40a27f46d5a5a05f1eebbcbb63.tar.gz
Support docutils-0.18: Consume iterator of Element.traverse()
Since 0.18, Element.traverse() returns an iterator instead of intermediate object. As a result, the return value is always considered as truthy value. And it becomes fragile when the caller modifies the doctree on the loop.
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions