[docs] [issue10942] xml.etree.ElementTree.tostring returns type bytes, expected type str