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

Method __xml__

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

Source from the content-addressed store, hash-verified

108 assert type(xml_obj) == xml
109 self.__content.remove(xml_obj.__content)
110 def __xml__(self):
111 return self
112 def __str__(self):
113 return cElementTree.tostring(self.__content)
114 def __repr__(self):

Callers 1

__new__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected