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

sd/lb: replace len(x)<=0 with len(x)==0 #768

Closed
wants to merge 1 commit into from
Closed

sd/lb: replace len(x)<=0 with len(x)==0 #768

wants to merge 1 commit into from

Conversation

quasilyte
Copy link
Contributor

Len by definition never returns negative values.
Make check more precise and remove redundant uncertainty
from the code.

Len by definition never returns negative values.
Make check more precise and remove redundant uncertainty
from the code.
@peterbourgon
Copy link
Member

Sorry, old habits die hard.

@quasilyte quasilyte deleted the quasilyte/sloppyLen branch October 2, 2018 04:26
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