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

Method clear

thirdparty/clientform/clientform.py:2996–3005  ·  view source on GitHub ↗

Clear the value attribute of a control. As a result, the affected control will not be successful until a value is subsequently set. AttributeError is raised on readonly controls.

(self,
              name=None, type=None, kind=None, id=None, nr=None, label=None)

Source from the content-addressed store, hash-verified

2994 control.clear()
2995
2996 def clear(self,
2997 name=None, type=None, kind=None, id=None, nr=None, label=None):
2998 """Clear the value attribute of a control.
2999
3000 As a result, the affected control will not be successful until a value
3001 is subsequently set. AttributeError is raised on readonly controls.
3002
3003 """
3004 c = self.find_control(name, type, kind, id, label=label, nr=nr)
3005 c.clear()
3006
3007
3008#---------------------------------------------------

Callers

nothing calls this directly

Calls 2

find_controlMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected