MCPcopy Create free account
hub / github.com/Pylons/webtest / __init__

Method __init__

webtest/forms.py:170–175  ·  view source on GitHub ↗
(self, *args, **attrs)

Source from the content-addressed store, hash-verified

168 """Field representing ``<select multiple="multiple">``"""
169
170 def __init__(self, *args, **attrs):
171 super().__init__(*args, **attrs)
172 self.options = []
173 # Undetermined yet:
174 self.selectedIndices = []
175 self._forced_values = NoValue
176
177 def force_value(self, values):
178 """Like setting a value, except forces it (even for, say, hidden

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected