diff options
| author | Ramin Farajpour Cami <ramin.blackhat@gmail.com> | 2016-11-12 20:41:23 +0330 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-14 12:30:46 -0500 |
| commit | 967be82443b5640d61608a89897d8ce2bc44fa54 (patch) | |
| tree | 9905e1156e27aa3d1226da3dde1223a5087b0d55 /django/dispatch | |
| parent | 6072de727f0ffa7bf0aa67aadba5d4589561974d (diff) | |
Fixed E305 flake8 warnings.
Diffstat (limited to 'django/dispatch')
| -rw-r--r-- | django/dispatch/dispatcher.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/dispatch/dispatcher.py b/django/dispatch/dispatcher.py index 30f339a47c..8b26c39055 100644 --- a/django/dispatch/dispatcher.py +++ b/django/dispatch/dispatcher.py @@ -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 |
