mirror of
https://github.com/jazzband/django-constance.git
synced 2026-05-27 16:34:04 +00:00
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 |
||
|---|---|---|
| .. | ||
| migrations | ||
| south_migrations | ||
| __init__.py | ||
| models.py | ||