Returns the siblings of this Tag that match the given criteria and appear before this Tag in the document.
(self, name=None, attrs={}, text=None,
limit=None, **kwargs)
| 310 | **kwargs) |
| 311 | |
| 312 | def findPreviousSiblings(self, name=None, attrs={}, text=None, |
| 313 | limit=None, **kwargs): |
| 314 | """Returns the siblings of this Tag that match the given |
| 315 | criteria and appear before this Tag in the document.""" |
| 316 | return self._findAll(name, attrs, text, limit, |
| 317 | self.previousSiblingGenerator, **kwargs) |
| 318 | fetchPreviousSiblings = findPreviousSiblings # Compatibility with pre-3.x |
| 319 | |
| 320 | def findParent(self, name=None, attrs={}, **kwargs): |