Open phihag opened 11 years ago
Some methods in form.py are unnecessarily complex. For example,
form.py
def get_input_elements(self): for form_input in self.document.findall('.//input'): yield form_input
can be written as
get_input_elements = lambda self: self.document.findall('input')
(or slightly longer). We should also unify textareas and inputs here.
Some methods in
form.py
are unnecessarily complex. For example,can be written as
(or slightly longer). We should also unify textareas and inputs here.