Returns all items that match the given criteria and appear before this Tag in the document.
(self, name=None, attrs={}, text=None, limit=None,
**kwargs)
| 296 | return self._findOne(self.findAllPrevious, name, attrs, text, **kwargs) |
| 297 | |
| 298 | def findAllPrevious(self, name=None, attrs={}, text=None, limit=None, |
| 299 | **kwargs): |
| 300 | """Returns all items that match the given criteria and appear |
| 301 | before this Tag in the document.""" |
| 302 | return self._findAll(name, attrs, text, limit, self.previousGenerator, |
| 303 | **kwargs) |
| 304 | fetchPrevious = findAllPrevious # Compatibility with pre-3.x |
| 305 | |
| 306 | def findPreviousSibling(self, name=None, attrs={}, text=None, **kwargs): |