|
|
|
|
|
by MereInterest
4491 days ago
|
|
As another change, it is recommended to avoid explicit line continuations by using parentheses instead. def is_file_for(is_nagyker, type):
return ((type == KIS_ES_NAGYKER) or
(type == KISKER and not is_nagyker) or
(type == NAGYKER and is_nagyker))
This way, it doesn't break if there is extra whitespace at the end of the line. |
|