Semyon Proshev and Sebastian Rittau
4859742087
Inherit InstanceType from object ( #2511 )
2018-10-08 14:31:21 +02:00
Semyon Proshev and Jelle Zijlstra
6a080cd0db
Use assignments instead of redefinitions for aliases in attrs ( #2143 )
2018-05-17 20:27:34 -07:00
Semyon Proshev and Jelle Zijlstra
9275be244f
Update NamedTuple _make and _replace parameters in Python 2 ( #2144 )
2018-05-17 11:03:55 -07:00
Semyon Proshev and Jelle Zijlstra
5223b26ec8
Add __round__ to int and float in Python 3 ( #2061 )
2018-04-17 14:25:04 -07:00
Semyon Proshev and Guido van Rossum
ac70fdc614
Overloads for map ( #1990 )
2018-03-27 10:05:59 -07:00
Semyon Proshev and Jelle Zijlstra
8ac7f68a86
Update return type for math.ceil in Python 2 ( #1989 )
2018-03-27 08:09:18 -07:00
Semyon Proshev and Jelle Zijlstra
3e00a8f8e1
PEP 553 and PEP 564 ( #1846 )
...
* Add `breakpoint` to builtins (PEP 553)
* Add new `time` functions (PEP 564)
2018-01-31 16:51:25 -08:00
Semyon Proshev and Jelle Zijlstra
4b6b484786
Add clear method to MutableSequence in Python 3 ( #1765 )
2017-12-15 19:37:43 -08:00
Semyon Proshev and Jelle Zijlstra
a1e85be4c9
Add __int__ to uuid.UUID ( #1783 )
2017-12-13 08:20:47 -08:00
Semyon Proshev and Jelle Zijlstra
b0d9752a1c
Make func in builtin map optional in Python 2 ( #1751 )
...
* Make `func` in builtin `map` optional in Python 2
* Add `map` overloads with `None` `func` in Python 2
2017-11-22 07:57:07 -08:00
Semyon Proshev and Jelle Zijlstra
7c11ae03de
Add __qualname__ to functions and methods ( #1750 )
2017-11-16 08:37:36 -08:00
Semyon Proshev and Jelle Zijlstra
3029357ad7
Add unicode.__rmul__ ( #1749 )
2017-11-16 08:31:55 -08:00
Semyon Proshev and Jelle Zijlstra
bc91a22e4e
Update datetime.timetuple and datetime.utctimetuple (Py3), and datetime.__init__ (Py2) ( #1648 )
...
* Update return type for datetime.timetuple and datetime.utctimetuple
* Fix microsecond parameter in datetime
2017-10-07 08:39:39 -07:00
Semyon Proshev and Jelle Zijlstra
72fbc459a7
Add __init__ to types.MethodType ( #1499 )
2017-07-26 08:38:27 -07:00
Semyon Proshev and Jelle Zijlstra
fed4e03e53
Add __new__ to str and int stubs in both Pythons. ( #1352 )
...
* Update default values to `...` in `__init__` and `__new__` in `int` and `str`.
* Add `__new__` to `enum.IntEnum` to override inherited `__new__`.
* Add `type: ignore` comment to `IntEnum`
2017-06-12 20:53:32 -07:00
Semyon Proshev and Jelle Zijlstra
5db571a8f3
Update typing.MutableMapping.update stubs to allow keyword-only arguments ( #1370 )
2017-05-30 21:44:10 -07:00
Semyon Proshev and Jelle Zijlstra
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
Semyon Proshev and Jelle Zijlstra
1ebcc1d11f
Add timespec parameter to datetime.datetime.isoformat for Python 3.6+. ( #1349 )
2017-05-25 07:33:50 -07:00
Semyon Proshev and Jelle Zijlstra
a2561cc4b2
Update typing.NamedTuple.__init__ to support fields passed through kwargs ( #1239 )
...
* Update `typing.NamedTuple.__init__` to support fields passed through kwargs
* `Verbose` and `rename` were returned to `typing.NamedTuple.__init__`
2017-05-04 08:26:15 -07:00
Semyon Proshev and Guido van Rossum
8c1690befc
Update stubs for classmethod and staticmethod in both Pythons. ( #1089 )
2017-03-29 10:19:17 -07:00
Semyon Proshev and Jelle Zijlstra
df4c5c81e8
Add n-ary stub for itertools.izip ( #1071 )
2017-03-22 07:35:21 -07:00
Semyon Proshev and Jelle Zijlstra
c10dc797e7
Remove object as the only ancestor for string.Formatter in Python 3 stubs. ( #1072 )
2017-03-22 07:33:46 -07:00
Semyon Proshev and Jelle Zijlstra
78d0cc32df
Add __new__ to builtin dict ( #1056 )
2017-03-22 07:33:06 -07:00
Semyon Proshev and Matthias Kramm
25c66a011e
Add zip stubs for 5 and more arguments. ( #1041 )
...
* Add `zip` stubs for 5 and more arguments.
* Update `zip` stubs for 6+ arguments.
2017-03-20 11:38:38 -07:00
Semyon Proshev and Guido van Rossum
52da2a176b
Fix datetime stubs ( #992 )
2017-03-13 09:12:46 -07:00