MCPcopy Index your code
hub / github.com/clips/pattern / setString

Method setString

pattern/web/soup/BeautifulSoup.py:569–572  ·  view source on GitHub ↗

Replace the contents of the tag with a string

(self, string)

Source from the content-addressed store, hash-verified

567 return self.contents[0]
568
569 def setString(self, string):
570 """Replace the contents of the tag with a string"""
571 self.clear()
572 self.append(string)
573
574 string = property(getString, setString)
575

Callers

nothing calls this directly

Calls 2

clearMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected