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

Method _lastRecursiveChild

code/BeautifulSoup.py:182–187  ·  view source on GitHub ↗

Finds the last element beneath this object to be parsed.

(self)

Source from the content-addressed store, hash-verified

180 return self
181
182 def _lastRecursiveChild(self):
183 "Finds the last element beneath this object to be parsed."
184 lastChild = self
185 while hasattr(lastChild, 'contents') and lastChild.contents:
186 lastChild = lastChild.contents[-1]
187 return lastChild
188
189 def insert(self, position, newChild):
190 if isinstance(newChild, basestring) \

Callers 4

extractMethod · 0.95
insertMethod · 0.45
getTextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected