We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A wider usage of the function is_empty_string from support.py could be made across the entire project.
is_empty_string
support.py
This function replaces this very common pattern when dealing with strings:
# The old: if string is None or string == '': pass # becomes: if is_empty_string(string): pass
This makes much clearer the semantics of that conditional statement: the intention of the developer is easily and quickly understandable.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A wider usage of the function
is_empty_string
fromsupport.py
could be made across the entire project.This function replaces this very common pattern when dealing with strings:
This makes much clearer the semantics of that conditional statement: the intention of the developer is easily and quickly understandable.
The text was updated successfully, but these errors were encountered: