diff options
| author | David Smith <smithdc@gmail.com> | 2023-02-01 07:13:39 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-01 11:04:38 +0100 |
| commit | 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 (patch) | |
| tree | 7042be9ee3aabda10ecfa8923a113388b81f34a8 /django/utils/cache.py | |
| parent | 8c660fb59239828583f17cdede3b64f208b8752c (diff) | |
Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
Diffstat (limited to 'django/utils/cache.py')
| -rw-r--r-- | django/utils/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/cache.py b/django/utils/cache.py index d4574217f4..cf797d0279 100644 --- a/django/utils/cache.py +++ b/django/utils/cache.py @@ -78,7 +78,7 @@ def patch_cache_control(response, **kwargs): elif "public" in cc and "private" in kwargs: del cc["public"] - for (k, v) in kwargs.items(): + for k, v in kwargs.items(): directive = k.replace("_", "-") if directive == "no-cache": # no-cache supports multiple field names. |
