MCPcopy Create free account
hub / github.com/ActiveState/code / nav

Method nav

recipes/Python/576445_ElementTree_Wrapper/recipe-576445.py:177–179  ·  view source on GitHub ↗
(self,*tag_list)

Source from the content-addressed store, hash-verified

175 def __path_from_list(self,tag_list):
176 return './/' + '//'.join(self.__prefix + tag for tag in tag_list)
177 def nav(self,*tag_list):
178 path = self.__path_from_list(tag_list)
179 return self.find(path)
180 def navlist(self,*tag_list):
181 return self.findall(self.__path_from_list(tag_list))
182 def find(self,path):

Callers

nothing calls this directly

Calls 2

__path_from_listMethod · 0.95
findMethod · 0.95

Tested by

no test coverage detected