Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ load
Method
load
pattern/text/__init__.py:1718–1721 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1716
self._path = path
1717
1718
def
load(self):
1719
for
x in _read(self._path):
1720
x = x.split()
1721
dict.__setitem__(self, x[0], int(x[1]))
1722
1723
@property
1724
def
path(self):
Callers
1
suggest
Method · 0.95
Calls
3
_read
Function · 0.85
split
Method · 0.45
__setitem__
Method · 0.45
Tested by
no test coverage detected