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

Method _lastRecursiveChild

pattern/web/soup/BeautifulSoup.py:197–202  ·  view source on GitHub ↗

Finds the last element beneath this object to be parsed.

(self)

Source from the content-addressed store, hash-verified

195 return self
196
197 def _lastRecursiveChild(self):
198 "Finds the last element beneath this object to be parsed."
199 lastChild = self
200 while hasattr(lastChild, 'contents') and lastChild.contents:
201 lastChild = lastChild.contents[-1]
202 return lastChild
203
204 def insert(self, position, newChild):
205 if isinstance(newChild, basestring) \

Callers 4

extractMethod · 0.95
insertMethod · 0.80
getTextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected