Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

remove redundant list comprehension#547

Merged
ambv merged 1 commit intohtml5lib:masterhtml5lib/html5lib-python:masterfrom
adhintz:masteradhintz/html5lib-python:masterCopy head branch name to clipboard
Mar 1, 2023
Merged

remove redundant list comprehension#547
ambv merged 1 commit intohtml5lib:masterhtml5lib/html5lib-python:masterfrom
adhintz:masteradhintz/html5lib-python:masterCopy head branch name to clipboard

Conversation

@adhintz
Copy link
Contributor

@adhintz adhintz commented Apr 7, 2022

any() accepts a generator. This will cause it to run faster because the any() returns as soon as it finds a True value.

any() accepts a generator. This will cause it to run faster because the any() returns as soon as it finds a True value.
@ambv ambv merged commit 5decf47 into html5lib:master Mar 1, 2023
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.