Created
September 22, 2016 11:29
-
-
Save filipgorczynski/7f147a40ac79b635925c2476365474d9 to your computer and use it in GitHub Desktop.
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
| def func1(arg): | |
| if not arg: | |
| return False | |
| result = DB_result() | |
| if result: | |
| return len(result) | |
| return False | |
| def func2(arg): | |
| if arg: | |
| result = DB_result() | |
| if result: | |
| return len(result) | |
| return False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment