(self, name)
| 183 | return None |
| 184 | |
| 185 | def end(self, name): |
| 186 | self.soup.endData() |
| 187 | completed_tag = self.soup.tagStack[-1] |
| 188 | namespace, name = self._getNsTag(name) |
| 189 | nsprefix = None |
| 190 | if namespace is not None: |
| 191 | for inverted_nsmap in reversed(self.nsmaps): |
| 192 | if inverted_nsmap is not None and namespace in inverted_nsmap: |
| 193 | nsprefix = inverted_nsmap[namespace] |
| 194 | break |
| 195 | self.soup.handle_endtag(name, nsprefix) |
| 196 | if len(self.nsmaps) > 1: |
| 197 | # This tag, or one of its parents, introduced a namespace |
| 198 | # mapping, so pop it off the stack. |
| 199 | self.nsmaps.pop() |
| 200 | |
| 201 | def pi(self, target, data): |
| 202 | self.soup.endData() |
no test coverage detected