diff --git a/django/utils/datastructures.py b/django/utils/datastructures.py index ca8d48416b..3bb75d262e 100644 --- a/django/utils/datastructures.py +++ b/django/utils/datastructures.py @@ -316,7 +316,7 @@ class DotExpandedDict(dict): try: current[bits[-1]] = v except TypeError: # Special-case if current isn't a dict. - current = {bits[-1] : v} + current = {bits[-1]: v} class FileDict(dict): """