Returns the parents of this Tag that match the given criteria.
(self, name=None, attrs={}, limit=None, **kwargs)
| 314 | return r |
| 315 | |
| 316 | def findParents(self, name=None, attrs={}, limit=None, **kwargs): |
| 317 | """Returns the parents of this Tag that match the given |
| 318 | criteria.""" |
| 319 | |
| 320 | return self._findAll(name, attrs, None, limit, self.parentGenerator, |
| 321 | **kwargs) |
| 322 | fetchParents = findParents # Compatibility with pre-3.x |
| 323 | |
| 324 | #These methods do the real heavy lifting. |