diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-09-11 11:39:13 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-09-11 11:39:13 +0000 |
| commit | 5c6612e2337a8320c3020ad54aa4d90a9fffa58a (patch) | |
| tree | b6d5b54f1ce4b5091cd513d01d88bae15f858723 /docutils/test | |
| parent | c3afbe9ff80b3658acea109f04cd9558ea67c35c (diff) | |
| download | docutils-5c6612e2337a8320c3020ad54aa4d90a9fffa58a.tar.gz | |
Speed up Node.next_node() ...
... by not creating a full list of following nodes in the process.
Although the documented API of Node.traverse() only promises an "iterable"
as return value, the implementation returned a list up to v. 0.15.
Some 3rd party code still relies on this (e.g. Sphinx as of 2019-09-07).
Therefore, Node.traverse() returns a list until this is sorted out.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8389 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
0 files changed, 0 insertions, 0 deletions
