diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-10-27 01:49:57 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-10-27 01:49:59 +0900 |
commit | 13803a79e7179f40a27f46d5a5a05f1eebbcbb63 (patch) | |
tree | 2cb19dd2900c96c57f601d46bdfbfc0652127b13 /doc/development/tutorials/examples/autodoc_intenum.py | |
parent | 2be9d6b092965a2f9354da66b645bf5ea76ce288 (diff) | |
download | sphinx-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