chiark / gitweb /
m.htmlsanity: traverse() is deprecated since docutils 0.18.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 21 Aug 2024 10:23:57 +0000 (12:23 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 21 Aug 2024 11:54:54 +0000 (13:54 +0200)
commit6c0dfc9ad6a6b7bff7761b8d305be7d4ff86d26d
tree4e72b83e0efbacb63975ad8c61b4124159462a77
parentb8206e2f79f1fac82b4e34189b77da17646341ec
m.htmlsanity: traverse() is deprecated since docutils 0.18.

Looks like it got changed to an iterator to be faster, unfortunately
Sphinx relied on it returning a list, so it got changed back and
deprecated in favor of findall().

Using the new name and adding it as an alias for traverse() on older
versions.
documentation/python.py
plugins/m/htmlsanity.py