Commit Graph

17 Commits

Author SHA1 Message Date
Jelle Zijlstra
7cfbc7d17f more 3.7 features (#2015) 2018-04-06 11:09:11 -07:00
Jelle Zijlstra
af222eace0 add stubs for zipapp (#1046)
* add zipapp
* add BinaryIO to _Path
2017-03-20 20:07:58 -07:00
Valérian Rousset
fe15d91041 merge */xml/etree into 2and3/xml/etree (#899)
Fixes #287.
2017-01-30 13:19:28 -08:00
Lukasz Langa
82b2d8e3bc Fixing flake8 F403, F405 errors 2016-12-20 02:28:12 -08:00
Lukasz Langa
fe0e3744cc Fixing flake8 E261 errors 2016-12-19 22:09:35 -08:00
Philip House
04f5c5699e Merge 3.4 and 3.5 pathlib stubs (#764)
Fixes #659
2016-12-13 12:03:03 -08:00
Guido van Rossum
bbbf1d8c7a PurePath.parent[s] should be properties (#706)
PurePath.parent[s] should be properties
2016-11-28 14:01:22 -08:00
Guido van Rossum
49a8a28c29 Use self-type for parent[s] properties too (#667)
This is possible now that python/mypy#2404 has landed.
2016-11-06 11:21:45 -08:00
Guido van Rossum
9881a2567e Start using selftype in 3.5 pathlib (#658) 2016-11-04 15:32:57 -07:00
Danny Weinberg
68f8a278fe Improve correctness of pathlib stubs (#483)
I went through each method in the source and verified the inputs it accepts and outputs it gives. I also redefined a few methods on the `Path` class so that MyPy knows they return `Path` instead of `PurePath`. This is really just a temporary workaround until https://github.com/python/mypy/issues/1212 is fixed, but greatly improves the process of working with the `pathlib` module and is therefore likely worth the duplication.
2016-08-26 13:17:22 -07:00
Valérian Rousset
9b3fe3d0e0 add types to pathlib (#338) 2016-07-17 21:16:25 -07:00
tewe
c84c138194 Annotate **kwargs with dictionary value type only (#320) 2016-06-29 08:43:13 -07:00
James J Porter
2b55989f7d make xml.etree.ElementTree.Element a Sequence (#254) 2016-06-04 19:28:22 -07:00
Valérian Rousset
9fdac6e0df improve io (#194)
* added types to io, some version-specific variants
* remove _io (moved the classes to io)
* remove internal, unused xml.etree._ListDataStream
2016-05-11 10:47:24 -07:00
Ismail
8d893cfae8 Make forward references strings 2016-03-09 11:58:24 +00:00
Ismail
d21c09919d Creating __init__.pyi files 2016-03-09 11:18:00 +00:00
Ismail
6a9b713ce3 Add files for Py3.5 2016-03-09 11:09:33 +00:00