Commit Graph

9 Commits

Author SHA1 Message Date
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
an onion
c4faf466b3 Add type stubs for xml.dom.pulldom (#5803)
Co-authored-by: Stephanie Ding <sym@fb.com>
2021-07-24 14:53:03 +02:00
Anton Grübel
d68701c0ec Use _typeshed.Self with __enter__ (#5723)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2021-07-04 21:10:01 +03:00
Sebastian Rittau
841a365284 Remove compatibility aliases (#5464)
* Remove compatibility aliases

Remove a few instances of Text

Use aliases from _typeshed

* Remove unused imports
2021-05-15 20:49:20 +03:00
Shantanu
851c187287 xml.dom.minidom: add missing definitions (#5280)
Co-authored-by: hauntsaninja <>
2021-05-02 12:04:41 -07:00
Shantanu
537aec0466 xml.dom.minicompat: complete stub (#5281) 2021-05-01 21:39:54 -07:00
Eric Traut
c7c025ae08 Removed a bunch of unused import symbols detected by pyright. (#5060)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2021-02-23 19:46:46 +01:00
Rebecca Chen
2682c1d00a Let xml.dom.minidom.parse() accept files. (#5005)
The documentation says, "The parse() function can take either a filename
or an open file object."
(https://docs.python.org/3.8/library/xml.dom.minidom.html). The function
was annotated as only accepting a str, so I added IO[Any].
2021-02-04 16:01:55 -08:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00