MCPcopy Index your code
hub / github.com/clips/pattern / fromkeys

Method fromkeys

pattern/text/search.py:189–190  ·  view source on GitHub ↗
(cls, keys=[], v=None)

Source from the content-addressed store, hash-verified

187
188 @classmethod
189 def fromkeys(cls, keys=[], v=None):
190 return cls((k, v) for k in keys)
191
192 def push(self, (k, v)):
193 """ Adds a new item from the given (key, value)-tuple.

Callers 10

eigenvector_centralityFunction · 0.45
partitionFunction · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__.pyFile · 0.45
parse_tokenMethod · 0.45
search.pyFile · 0.45
dFunction · 0.45
test_wordlistMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_wordlistMethod · 0.36