MCPcopy
hub / github.com/django/django / clear

Method clear

django/http/request.py:698–700  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

696 return super().popitem()
697
698 def clear(self):
699 self._assert_mutable()
700 super().clear()
701
702 def setdefault(self, key, default=None):
703 self._assert_mutable()

Callers 15

test_immutabilityMethod · 0.95
test_single_key_valueMethod · 0.95
test_multiple_keysMethod · 0.95
feedMethod · 0.45
common_rootsFunction · 0.45
tickMethod · 0.45
closeMethod · 0.45
test_clearMethod · 0.45
tearDownMethod · 0.45
test_clearMethod · 0.45

Calls 1

_assert_mutableMethod · 0.95

Tested by 15

test_immutabilityMethod · 0.76
test_single_key_valueMethod · 0.76
test_multiple_keysMethod · 0.76
test_clearMethod · 0.36
tearDownMethod · 0.36
test_clearMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36
tearDownMethod · 0.36