Semyon Proshev
5db571a8f3
Update typing.MutableMapping.update stubs to allow keyword-only arguments ( #1370 )
2017-05-30 21:44:10 -07:00
Semyon Proshev
f9872cafd8
Update collections and typing.NamedTuple ( #1276 )
...
* Update stubs for `collections` module in both Pythons.
* Update `typing.NamedTuple` stub to have `_source` attribute.
* Fix compatibility of `deque.index` signature with supertype `Sequence`
2017-05-27 15:01:40 -07:00
Jelle Zijlstra
b084bcd037
review exported names in collections stubs ( #1197 )
...
Fixes #709
I looked at dir(collections) in 2.7 and 3.6 and made sure the list of names matched the stubs.
2017-04-30 09:59:37 -07:00
Mike Patek
c760a4e949
Make OrderedDict inherit from Reversible ( #912 )
...
Fixes #904
2017-02-01 09:23:43 -08:00
Jelle Zijlstra
6e84021f56
ChainMap fixes ( #878 )
...
- It didn't exist before 3.3 (https://docs.python.org/3/library/collections.html#chainmap-objects )
- It's not a subclass of dict
2017-01-29 20:29:29 -08:00
Lucas Wiman
6d1edb285d
Expand several stdlib methods to accept unicode or str. ( #869 )
...
Expand several stdlib methods to accept unicode or str.
2017-01-27 16:03:25 +00:00
Roy Williams
33b81b9e2b
Add MutableSet to collections ( #691 )
2016-11-24 11:39:00 +00:00
Guido van Rossum
cb97bb54c0
Move 2.7 to 2 ( #635 )
...
Closes #579 .
2016-10-26 16:24:49 -07:00