Created
April 2, 2017 17:43
-
-
Save romach/2569dc20efc00ebe9a5b138f630ec261 to your computer and use it in GitHub Desktop.
Check variable not null
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not (val is None): | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment