(self, attrs)
| 543 | self._current_form = self._global_form |
| 544 | |
| 545 | def start_select(self, attrs): |
| 546 | debug("%s", attrs) |
| 547 | if self._select is not None: |
| 548 | raise ParseError("nested SELECTs") |
| 549 | if self._textarea is not None: |
| 550 | raise ParseError("SELECT inside TEXTAREA") |
| 551 | d = {} |
| 552 | for key, val in attrs: |
| 553 | d[key] = self.unescape_attr_if_required(val) |
| 554 | |
| 555 | self._select = d |
| 556 | self._add_label(d) |
| 557 | |
| 558 | self._append_select_control({"__select": d}) |
| 559 | |
| 560 | def end_select(self): |
| 561 | debug("") |
nothing calls this directly
no test coverage detected