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

Method pushTag

code/BeautifulSoup.py:1227–1232  ·  view source on GitHub ↗
(self, tag)

Source from the content-addressed store, hash-verified

1225 return self.currentTag
1226
1227 def pushTag(self, tag):
1228 #print "Push", tag.name
1229 if self.currentTag:
1230 self.currentTag.contents.append(tag)
1231 self.tagStack.append(tag)
1232 self.currentTag = self.tagStack[-1]
1233
1234 def endData(self, containerClass=NavigableString):
1235 if self.currentData:

Callers 2

resetMethod · 0.95
unknown_starttagMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected