Create a new NavigableString associated with this soup.
(self, s, subclass=NavigableString)
| 257 | return Tag(None, self.builder, name, namespace, nsprefix, attrs) |
| 258 | |
| 259 | def new_string(self, s, subclass=NavigableString): |
| 260 | """Create a new NavigableString associated with this soup.""" |
| 261 | return subclass(s) |
| 262 | |
| 263 | def insert_before(self, successor): |
| 264 | raise NotImplementedError("BeautifulSoup objects don't support insert_before().") |
no outgoing calls