• Nick Coghlan's avatar
    Close #18990: remove root attribute from XMLPullParser · 4cc2afa0
    Nick Coghlan yazdı
    - this was an internal implementation detail for iterparse
    - this has been changed to use a new private method instead
    - XMLPullParser.close docs are now more explicit about not
      returning a root element and instead direct users towards
      read_events
    - also added missing docstrings and clarified some details
      related to exactly *when* events are consumed from the
      internal queue
    
    (Initial patch by Stefan Behnel)
    4cc2afa0
test_xml_etree.py 95.2 KB