(self, element)
| 599 | child.extract() |
| 600 | |
| 601 | def index(self, element): |
| 602 | for i, child in enumerate(self.contents): |
| 603 | if child is element: |
| 604 | return i |
| 605 | raise ValueError("Tag.index: element not in tag") |
| 606 | |
| 607 | def has_key(self, key): |
| 608 | return self._getAttrMap().has_key(key) |
no outgoing calls