MCPcopy Index your code
hub / github.com/RustPython/RustPython / __set

Method __set

Lib/http/cookies.py:487–491  ·  view source on GitHub ↗

Private method for setting a cookie's value

(self, key, real_value, coded_value)

Source from the content-addressed store, hash-verified

485 self.load(input)
486
487 def __set(self, key, real_value, coded_value):
488 """Private method for setting a cookie's value"""
489 M = self.get(key, Morsel())
490 M.set(key, real_value, coded_value)
491 dict.__setitem__(self, key, M)
492
493 def __setitem__(self, key, value):
494 """Dictionary style assignment."""

Callers 3

__setitem__Method · 0.95
__parse_stringMethod · 0.95
__set__Method · 0.80

Calls 4

MorselClass · 0.85
getMethod · 0.45
setMethod · 0.45
__setitem__Method · 0.45

Tested by 1

__set__Method · 0.64