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

Method clear

pattern/web/json/ordered_dict.py:30–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 self.update(*args, **kwds)
29
30 def clear(self):
31 self.__end = end = []
32 end += [None, end, end] # sentinel node for doubly linked list
33 self.__map = {} # key --> [key, prev, next]
34 dict.clear(self)
35
36 def __setitem__(self, key, value):
37 if key not in self:

Callers 3

__init__Method · 0.95
scan_onceFunction · 0.45
iterencodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected