MCPcopy Index your code
hub / github.com/python/cpython / X

Class X

Lib/test/test_xml_etree_c.py:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 # while a setter or clear() or __setstate__() is already running.
95 elem = cET.Element('elem')
96 class X:
97 def __del__(self):
98 elem.text
99 elem.tail
100 elem.clear()
101
102 elem.text = X()
103 elem.clear() # shouldn't crash

Callers 2

test_bpo_31728Method · 0.70

Calls

no outgoing calls

Tested by 2

test_bpo_31728Method · 0.56