MCPcopy Create free account
hub / github.com/Eve-PySpy/PySpy / Set

Method Set

optstore.py:61–68  ·  view source on GitHub ↗

Stores value under the specified key in the dictionary object. :param `key`: a new or existing key of the dictionary object; :param `value`: any python object;

(self, key, value)

Source from the content-addressed store, hash-verified

59 raise Exception("ERROR: no such key: " + str(key))
60
61 def Set(self, key, value):
62 '''
63 Stores value under the specified key in the dictionary object.
64
65 :param `key`: a new or existing key of the dictionary object;
66 :param `value`: any python object;
67 '''
68 self._options[key] = value
69
70 def Del(self, key):
71 '''

Callers 15

chk_github_updateFunction · 0.80
config.pyFile · 0.80
prepare_ship_dataFunction · 0.80
OnApplyMethod · 0.80
_setFontScaleMethod · 0.80
_toggleColumnMethod · 0.80
OnIgnoreMethod · 0.80
OnHighlightMethod · 0.80
OnDeHighlightMethod · 0.80
sortOutlistMethod · 0.80
_setTransparencyMethod · 0.80
_toggleIgnoreFactionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected