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

Method __iter__

recipes/Python/576445_ElementTree_Wrapper/recipe-576445.py:171–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

169 def iterelts(self):
170 return iter(xml(child_elt) for child_elt in self.__content.getchildren())
171 def __iter__(self):
172 return self.iterelts()
173 def __len__(self):
174 return len(self.__content.getchildren())
175 def __path_from_list(self,tag_list):

Callers

nothing calls this directly

Calls 1

itereltsMethod · 0.95

Tested by

no test coverage detected