Returns the first item that matches the given criteria and appears before this Tag in the document.
(self, name=None, attrs={}, text=None, **kwargs)
| 291 | fetchNextSiblings = findNextSiblings # Compatibility with pre-3.x |
| 292 | |
| 293 | def findPrevious(self, name=None, attrs={}, text=None, **kwargs): |
| 294 | """Returns the first item that matches the given criteria and |
| 295 | appears before this Tag in the document.""" |
| 296 | return self._findOne(self.findAllPrevious, name, attrs, text, **kwargs) |
| 297 | |
| 298 | def findAllPrevious(self, name=None, attrs={}, text=None, limit=None, |
| 299 | **kwargs): |