MCPcopy
hub / github.com/psf/black / loads

Method loads

src/blib2to3/pgen2/grammar.py:127–129  ·  view source on GitHub ↗

Load the grammar tables from a pickle bytes object.

(self, pkl: bytes)

Source from the content-addressed store, hash-verified

125 self._update(d)
126
127 def loads(self, pkl: bytes) -> None:
128 """Load the grammar tables from a pickle bytes object."""
129 self._update(pickle.loads(pkl))
130
131 def copy(self: _P) -> _P:
132 """

Callers 5

load_packaged_grammarFunction · 0.95
format_ipynb_stringFunction · 0.80
ipynb_diffFunction · 0.80
http_getFunction · 0.80
dastardly_default_valueFunction · 0.80

Calls 1

_updateMethod · 0.95

Tested by

no test coverage detected