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

Method __init__

pattern/web/json/ordered_dict.py:21–28  ·  view source on GitHub ↗
(self, *args, **kwds)

Source from the content-addressed store, hash-verified

19class OrderedDict(dict, DictMixin):
20
21 def __init__(self, *args, **kwds):
22 if len(args) > 1:
23 raise TypeError('expected at most 1 arguments, got %d' % len(args))
24 try:
25 self.__end
26 except AttributeError:
27 self.clear()
28 self.update(*args, **kwds)
29
30 def clear(self):
31 self.__end = end = []

Callers

nothing calls this directly

Calls 3

clearMethod · 0.95
lenFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected