MCPcopy
hub / github.com/rocky/python-uncompyle6 / add

Method add

test/ok_lib2.7/compiler/misc.py:18–19  ·  view source on GitHub ↗
(self, elt)

Source from the content-addressed store, hash-verified

16 def __contains__(self, elt):
17 return elt in self.elts
18 def add(self, elt):
19 self.elts[elt] = elt
20 def elements(self):
21 return self.elts.keys()
22 def has_elt(self, elt):

Callers 15

add_unique_ruleMethod · 0.80
number_loopFunction · 0.80
__init__Method · 0.80
ingestMethod · 0.80
detect_control_flowMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_grammarFunction · 0.64