Closed GochoMugo closed 9 years ago
License Information has been updated.
As commented in commit 1b90019:
An empty dictionary evaluates to False in a boolean context. If not empty it evaluates to True instead. Using if a_dict: ... is pythonic rather than being explicit. For more information, see https://www.python.org/dev/peps/pep-0008/#programming-recommendations
An empty dictionary evaluates to False in a boolean context. If not empty it evaluates to True instead. Using if a_dict: ... is pythonic rather than being explicit.
if a_dict: ...
For more information, see https://www.python.org/dev/peps/pep-0008/#programming-recommendations
Very considerate. Thanks :)
License Information has been updated.
As commented in commit 1b90019: