2996
2996
return isinstance(element, _Element) and (<_Element>element)._c_node is not NULL
2998
def dump(_Element elem not None, *, bint pretty_print=True, bint with_tail=True):
2998
def dump(_Element elem not None, *, bint pretty_print=True, with_tail=True):
2999
2999
u"""dump(elem, pretty_print=True, with_tail=True)
3001
3001
Writes an element tree or element structure to sys.stdout. This function
3002
3002
should be used for debugging only.
3005
_dumpToFile(sys.stdout, elem._c_node, pretty_print, with_tail)
3004
xml = tostring(elem, pretty_print=pretty_print, with_tail=with_tail,
3007
3010
def tostring(element_or_tree, *, encoding=None, method=u"xml",
3008
3011
xml_declaration=None, bint pretty_print=False, bint with_tail=True,