django-constance/constance/test
Jon Dufresne 3a1f8a898b Remove unnecessary calls to dict.keys
iter(dict) is equivalent to iter(dict.keys()). Can simply act on the
dict instead. Provides a more concise, Pythonic syntax and avoids an
unnecessary function call.

Inspired by Lennart Regebro's presentation "Prehistoric Patterns in
Python" at PyCon 2017. Available at:

https://www.youtube.com/watch?v=V5-JH23Vk0I
2017-06-02 10:23:21 +02:00
..
__init__.py Implement override_config decorator for use in testing 2015-06-02 21:18:19 +03:00
utils.py Remove unnecessary calls to dict.keys 2017-06-02 10:23:21 +02:00