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 unnecessary bool() calls throughout project #2891

Merged
merged 1 commit into from
Dec 18, 2017
Merged

Remove unnecessary bool() calls throughout project #2891

merged 1 commit into from
Dec 18, 2017

Conversation

jdufresne
Copy link
Contributor

Can use truthy values in boolean expressions without first coercing to a bool. Removes unnecessary calls to bool().

Can use truthy values in boolean expressions without first coercing to a
bool. Removes unnecessary call to bool().
@wiredfool wiredfool merged commit 384da7d into python-pillow:master Dec 18, 2017
@jdufresne jdufresne deleted the bool-expr branch January 1, 2018 13:22
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.

None yet

2 participants