MCPcopy Index your code
hub / github.com/csev/py4e / setString

Method setString

code/BeautifulSoup.py:555–558  ·  view source on GitHub ↗

Replace the contents of the tag with a string

(self, string)

Source from the content-addressed store, hash-verified

553 return self.contents[0]
554
555 def setString(self, string):
556 """Replace the contents of the tag with a string"""
557 self.clear()
558 self.append(string)
559
560 string = property(getString, setString)
561

Callers

nothing calls this directly

Calls 2

clearMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected