MCPcopy
hub / github.com/django/django / lists

Method lists

django/utils/datastructures.py:187–189  ·  view source on GitHub ↗

Yield (key, list) pairs.

(self)

Source from the content-addressed store, hash-verified

185 yield key, self[key]
186
187 def lists(self):
188 """Yield (key, list) pairs."""
189 return iter(super().items())
190
191 def values(self):
192 """Yield the last value on every key list."""

Callers 15

__copy__Method · 0.95
test_multivaluedictMethod · 0.95
test_setitemMethod · 0.95
test_setdefaultMethod · 0.95
test_update_no_argsMethod · 0.95
test_update_dict_argMethod · 0.95
test_update_kwargsMethod · 0.95
__init__Method · 0.80
urlencodeFunction · 0.80
updateMethod · 0.80
parseMethod · 0.80

Calls 1

itemsMethod · 0.45

Tested by 11

test_multivaluedictMethod · 0.76
test_setitemMethod · 0.76
test_setdefaultMethod · 0.76
test_update_no_argsMethod · 0.76
test_update_dict_argMethod · 0.76
test_update_kwargsMethod · 0.76
test_single_key_valueMethod · 0.64
test_multiple_keysMethod · 0.64