Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support docutils-0.18: Consume iterator of Element.traverse() #9780

Merged
merged 1 commit into from
Oct 26, 2021

Commits on Oct 26, 2021

  1. 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.
    tk0miya committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    13803a7 View commit details
    Browse the repository at this point in the history