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

Method toggle_single

thirdparty/clientform/clientform.py:3055–3062  ·  view source on GitHub ↗

Toggle selected state of list item in control having only one item. The rest is as for HTMLForm.set_single.__doc__.

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

Source from the content-addressed store, hash-verified

3053 self._find_list_control(
3054 name, type, kind, id, label, nr).set_single(selected)
3055 def toggle_single(self, name=None, type=None, kind=None, id=None,
3056 nr=None, by_label=None, label=None): # deprecated
3057 """Toggle selected state of list item in control having only one item.
3058
3059 The rest is as for HTMLForm.set_single.__doc__.
3060
3061 """ # by_label ignored and deprecated
3062 self._find_list_control(name, type, kind, id, label, nr).toggle_single()
3063
3064#---------------------------------------------------
3065# Form-filling method applying only to FileControls.

Callers

nothing calls this directly

Calls 1

_find_list_controlMethod · 0.95

Tested by

no test coverage detected