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

Remove redundant lines from PrettifyTreeprocessor #1269

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

h4b4n3r0
Copy link

@h4b4n3r0 h4b4n3r0 commented Jun 11, 2022

This MR removes redundant code and fixes #1267

Lines in 409 and 410 are part of an if-condition-block. However, they are called identically L411 and L412 outside of the if-block anyways.

@waylan waylan merged commit 97359a4 into Python-Markdown:master Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redundant code in PrettifyTreeprocessor._prettifyETree
2 participants