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

Method __init__

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

Source from the content-addressed store, hash-verified

2289
2290 """
2291 def __init__(self, type, name, attrs, select_default=False, index=None):
2292 attrs.setdefault("value", "on")
2293 ListControl.__init__(self, type, name, attrs, select_default,
2294 called_as_base_class=True, index=index)
2295 self.__dict__["multiple"] = False
2296 o = Item(self, attrs, index)
2297 o.__dict__["_selected"] = "checked" in attrs
2298
2299 def fixup(self):
2300 ListControl.fixup(self)

Callers

nothing calls this directly

Calls 3

ItemClass · 0.85
setdefaultMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected