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

Method Del

optstore.py:70–79  ·  view source on GitHub ↗

Deletes specified key in the dictionary object. :param `key`: existing key of the dictionary object;

(self, key)

Source from the content-addressed store, hash-verified

68 self._options[key] = value
69
70 def Del(self, key):
71 '''
72 Deletes specified key in the dictionary object.
73
74 :param `key`: existing key of the dictionary object;
75 '''
76 try:
77 del self._options[key]
78 except:
79 raise Exception("ERROR: no such key: " + str(key))
80
81 def Save(self):
82 '''

Callers 1

config.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected