MCPcopy
hub / github.com/django/django / dict

Method dict

django/utils/datastructures.py:217–219  ·  view source on GitHub ↗

Return current object as a dict with singular values.

(self)

Source from the content-addressed store, hash-verified

215 self.setlistdefault(key).append(value)
216
217 def dict(self):
218 """Return current object as a dict with singular values."""
219 return {key: self[key] for key in self}
220
221
222class ImmutableList(tuple):

Calls

no outgoing calls