Message283590
We have:
# Concrete collection types.
'Dict',
'DefaultDict',
'List',
'Set',
'FrozenSet',
'NamedTuple', # Not really a type.
'Generator',
But no mention of Deque.
What this an intended omission?
I would like to be able to write something like this:
user_posts = defaultdict(deque) # type: DefaultDict[User, Deque[Post]] |
|
Date |
User |
Action |
Args |
2016-12-19 06:19:33 | rhettinger | set | recipients:
+ rhettinger, gvanrossum |
2016-12-19 06:19:33 | rhettinger | set | messageid: <1482128373.3.0.983889719325.issue29011@psf.upfronthosting.co.za> |
2016-12-19 06:19:33 | rhettinger | link | issue29011 messages |
2016-12-19 06:19:33 | rhettinger | create | |
|