MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / __init__

Method __init__

thirdparty/clientform/clientform.py:2324–2330  ·  view source on GitHub ↗
(self, type, name, attrs, select_default=False, index=None)

Source from the content-addressed store, hash-verified

2322
2323 """
2324 def __init__(self, type, name, attrs, select_default=False, index=None):
2325 attrs.setdefault("value", "on")
2326 ListControl.__init__(self, type, name, attrs, select_default,
2327 called_as_base_class=True, index=index)
2328 self.__dict__["multiple"] = True
2329 o = Item(self, attrs, index)
2330 o.__dict__["_selected"] = "checked" in attrs
2331
2332 def get_labels(self):
2333 return []

Callers

nothing calls this directly

Calls 3

ItemClass · 0.85
setdefaultMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected