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:
committed by
Tim Graham
parent
6072de727f
commit
967be82443
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user