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

Method pretty

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

Source from the content-addressed store, hash-verified

155 str_list = ["<%s/>" % head_str]
156 return str_list
157 def pretty(self):
158 return '\n'.join(pretty_str for pretty_str in self.pretty_list() if pretty_str.strip())
159 def __strip_key(self,key):
160 return key[len(self.__prefix):]
161 def keys(self):

Callers

nothing calls this directly

Calls 3

pretty_listMethod · 0.95
joinMethod · 0.45
stripMethod · 0.45

Tested by

no test coverage detected