django-rest-framework/rest_framework/utils
Jon Dufresne ffe3dbb1b1 Perfer iter(dict) over iter(dict.keys()) (#5736)
Calling dict.keys() is unnecessary. The two are functionally equivalent
on modern Pythons.

Inspired by Lennart Regebro's talk "Prehistoric Patterns in Python" from
PyCon 2017.

https://www.youtube.com/watch?v=V5-JH23Vk0I
2018-01-08 09:49:46 +00:00
..
__init__.py XML cleanup 2013-02-22 19:46:47 +00:00
breadcrumbs.py Compat cleanup (#5581) 2017-11-10 09:41:03 +01:00
encoders.py Fix bare except statements 2017-11-25 21:06:13 -05:00
field_mapping.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
formatting.py Simplified chained comparisons and minor code fixes (#5276) 2017-07-16 17:12:29 +01:00
html.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
humanize_datetime.py Fleshing out serializer fields 2014-09-09 17:46:28 +01:00
json.py Add docstring to json wrapper module 2017-09-25 09:08:20 +02:00
mediatypes.py Perfer iter(dict) over iter(dict.keys()) (#5736) 2018-01-08 09:49:46 +00:00
model_meta.py Remove references to unsupported Django versions in docs and code (#5602) 2017-11-20 09:35:54 +01:00
representation.py Remove Django 1.8 & 1.9 compatibility code (#5481) 2017-10-05 20:41:38 +02:00
serializer_helpers.py Stop JSONBoundField mangling invalid JSON (#5526) (#5527) 2017-10-25 10:54:38 +02:00
urls.py fix processing unicode symbols in query_string by Python 2 (#5552) 2017-11-06 11:46:37 +01:00