(self, method, name, attrs, text, **kwargs)
| 339 | #These methods do the real heavy lifting. |
| 340 | |
| 341 | def _findOne(self, method, name, attrs, text, **kwargs): |
| 342 | r = None |
| 343 | l = method(name, attrs, text, 1, **kwargs) |
| 344 | if l: |
| 345 | r = l[0] |
| 346 | return r |
| 347 | |
| 348 | def _findAll(self, name, attrs, text, limit, generator, **kwargs): |
| 349 | "Iterates over a generator looking for things that match." |
no outgoing calls
no test coverage detected