Parse HTML and return a list of HTMLForm instances. ClientForm.ParseError is raised on parse errors. file: file-like object (supporting read() method) containing HTML with zero or more forms to be parsed base_uri: the URI of the document (note that the base URI used to submit
(file, base_uri, *args, **kwds)
| 1072 | return _ParseFileEx(response, response.geturl(), *args, **kwds)[1:] |
| 1073 | |
| 1074 | def ParseFile(file, base_uri, *args, **kwds): |
| 1075 | """Parse HTML and return a list of HTMLForm instances. |
| 1076 | |
| 1077 | ClientForm.ParseError is raised on parse errors. |
| 1078 | |
| 1079 | file: file-like object (supporting read() method) containing HTML with zero |
| 1080 | or more forms to be parsed |
| 1081 | base_uri: the URI of the document (note that the base URI used to submit |
| 1082 | the form will be that given in the BASE element if present, not that of |
| 1083 | the document) |
| 1084 | |
| 1085 | For the other arguments and further details, see ParseResponse.__doc__. |
| 1086 | |
| 1087 | """ |
| 1088 | return _ParseFileEx(file, base_uri, *args, **kwds)[1:] |
| 1089 | |
| 1090 | def _ParseFileEx(file, base_uri, |
| 1091 | select_default=False, |
nothing calls this directly
no test coverage detected
searching dependent graphs…