Normalise form after all controls have been added. This is usually called by ParseFile and ParseResponse. Don't call it youself unless you're building your own Control instances. This method should only be called once, after all controls have been added to the form
(self)
| 2874 | control._urlunparse = self._urlunparse |
| 2875 | |
| 2876 | def fixup(self): |
| 2877 | """Normalise form after all controls have been added. |
| 2878 | |
| 2879 | This is usually called by ParseFile and ParseResponse. Don't call it |
| 2880 | youself unless you're building your own Control instances. |
| 2881 | |
| 2882 | This method should only be called once, after all controls have been |
| 2883 | added to the form. |
| 2884 | |
| 2885 | """ |
| 2886 | for control in self.controls: |
| 2887 | control.fixup() |
| 2888 | self.backwards_compat = self._backwards_compat |
| 2889 | |
| 2890 | #--------------------------------------------------- |
| 2891 | def __str__(self): |