(self, s, subclass=NavigableString)
return navigable
Create a new NavigableString associated with this soup.
Create a new NavigableString associated with this soup.
Create a new NavigableString associated with this soup .
def new_string(self, s, subclass=NavigableString):
        """Create a new NavigableString associated with this soup."""
        navigable = subclass(s)
        navigable.setup()
        return navigable
def new_string ( self , s , subclass = NavigableString ) : navigable = subclass ( s ) navigable . setup ( ) return navigable