1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed E305 flake8 warnings.

This commit is contained in:
Ramin Farajpour Cami
2016-11-12 20:41:23 +03:30
committed by Tim Graham
parent 6072de727f
commit 967be82443
114 changed files with 360 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ def _make_id(target):
if hasattr(target, '__func__'):
return (id(target.__self__), id(target.__func__))
return id(target)
NONE_ID = _make_id(None)
# A marker for caching