MCPcopy Create free account
hub / github.com/EasyIME/PIME / __setitem__

Method __setitem__

python/python3/tornado/httputil.py:210–213  ·  view source on GitHub ↗
(self, name: str, value: str)

Source from the content-addressed store, hash-verified

208 # MutableMapping abstract method implementations.
209
210 def __setitem__(self, name: str, value: str) -> None:
211 norm_name = _normalize_header(name)
212 self._dict[norm_name] = value
213 self._as_list[norm_name] = [value]
214
215 def __getitem__(self, name: str) -> str:
216 return self._dict[_normalize_header(name)]

Callers

nothing calls this directly

Calls 1

_normalize_headerFunction · 0.85

Tested by

no test coverage detected