(self, name, value)
| 2810 | return getattr(HTMLForm, name) |
| 2811 | |
| 2812 | def __setattr__(self, name, value): |
| 2813 | # yuck |
| 2814 | if name == "backwards_compat": |
| 2815 | name = "_backwards_compat" |
| 2816 | value = bool(value) |
| 2817 | for cc in self.controls: |
| 2818 | try: |
| 2819 | items = cc.items |
| 2820 | except AttributeError: |
| 2821 | continue |
| 2822 | else: |
| 2823 | for ii in items: |
| 2824 | for ll in ii.get_labels(): |
| 2825 | ll._backwards_compat = value |
| 2826 | self.__dict__[name] = value |
| 2827 | |
| 2828 | def new_control(self, type, name, attrs, |
| 2829 | ignore_unknown=False, select_default=False, index=None): |
nothing calls this directly
no test coverage detected