Jelle Zijlstra
|
f7e4cb8c79
|
make enums support len() (#1139)
|
2017-04-05 08:22:28 -07:00 |
|
Guido van Rossum
|
f44e461d19
|
Use a separate type variable for unique() (#1138)
* Use a separate type variable for unique()
See https://github.com/python/typeshed/pull/1136#discussion_r109727053
* actually use the new typevar
|
2017-04-04 23:48:19 -07:00 |
|
Guido van Rossum
|
7027c3e4e8
|
Support enum iteration (#1136)
* Support enum iteration.
Fixes python/mypy#2305.
* Make EnumMeta inherit from type, not ABCMeta.
|
2017-04-04 10:17:52 -07:00 |
|
Lukasz Langa
|
bbc7594ec7
|
Add Flag, IntFlag and auto to enum stubs
Fixes python/mypy#2609
|
2016-12-28 11:34:56 -08:00 |
|
Guido van Rossum
|
896110fd54
|
The value member of an IntEnum object is an int.
|
2016-09-29 09:48:43 -07:00 |
|
Alvaro Caceres
|
d0ac66f5f8
|
Use "..." for attribute values, instead of None, [], {}
|
2016-06-15 14:10:04 -05:00 |
|
Matthias Kramm
|
d2a3d4a4ed
|
Use explicit "# type: str" instead of '' shortcut.
|
2015-11-09 07:59:24 -08:00 |
|
Matthias Kramm
|
337abed05a
|
add (overwrite with) mypy stubs, if available
|
2015-09-30 09:59:44 -07:00 |
|