Files
typeshed/stdlib/2and3
lincolnq 59789b8a3e Improve types for xml.etree.ElementTree (#930)
* Improve types for xml.etree.ElementTree

Update signatures to reflect the following peculiarities of the
ElementTree library:

- The elementtree library accepts unicode or bytes for most xml values
  in python2, and coerces everywhere -- but in python3, only str makes
  sense.
- In python 2, the library produces str or unicode instances
  unpredictably, depending on whether the xml is decodeable as ascii or
  not. In python 3, it always produces str instances.
- The parser functions accept unicode or bytes in 2 and 3 -- again, will
  coerce individual instances so heterogeneous lists are ok.
- In python 3, the tostring functions produce bytes or str, depending on
  the value of the 'encoding' parameter.

* improve docs
* Improve ElementFactory type by specifying dict of 2nd arg
2017-02-22 20:43:09 -08:00
..
2016-12-21 01:06:52 -08:00
2016-12-20 00:47:51 -08:00
2016-12-20 00:47:51 -08:00
2016-12-20 00:16:44 -08:00
2016-12-20 09:07:15 -08:00
2016-12-19 23:53:19 -08:00
2016-08-05 07:55:43 -07:00
2016-07-29 08:02:24 -07:00
2016-12-19 22:09:35 -08:00
2016-08-05 12:03:21 -07:00
2016-12-29 10:17:40 -08:00
2016-12-21 01:06:52 -08:00
2016-12-20 00:47:51 -08:00
2017-02-21 14:27:34 -08:00
2016-12-19 23:53:19 -08:00
2016-12-21 01:06:52 -08:00
2016-08-05 12:04:01 -07:00
2016-08-10 13:39:38 -07:00
2016-07-22 07:38:17 -07:00
2016-12-20 00:06:36 -08:00
2016-12-19 22:09:35 -08:00
2016-12-21 01:06:52 -08:00
2016-12-21 01:06:52 -08:00
2016-12-19 22:09:35 -08:00
2016-12-21 01:06:52 -08:00
2016-12-19 21:52:56 -08:00