MCPcopy Index your code
hub / github.com/pyload/pyload / replace

Method replace

module/lib/bottle.py:1611–1613  ·  view source on GitHub ↗

Replace the list of values with a single value.

(self, key, value)

Source from the content-addressed store, hash-verified

1609 self.dict.setdefault(key, []).append(value)
1610
1611 def replace(self, key, value):
1612 ''' Replace the list of values with a single value. '''
1613 self.dict[key] = [value]
1614
1615 def getall(self, key):
1616 ''' Return a (possibly empty) list of values for a key. '''

Callers 15

compile_jsFunction · 0.45
makepotFunction · 0.45
check_fileMethod · 0.45
mainFunction · 0.45
addPackageMethod · 0.45
parseFileSizeFunction · 0.45
writeDebugReportMethod · 0.45
parseConfigMethod · 0.45
addcryptedMethod · 0.45
addcrypted2Method · 0.45
decodeResponseMethod · 0.45
parseHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected