Comment 1 for bug 1857794

Revision history for this message
Chris Jerdonek (chris-jerdonek) wrote :

Here is the code for _Element.__delitem__():

It looks like this issue might be because the "subelement" deletion case calls _removeText() in addition to _removeNode(), whereas the "slice" case only calls _removeNode():

I haven't confirmed for sure. It's just a difference I noticed when looking at the code superficially.