Message279191
Hm, I actually like the original proposal better. Perhaps collections.abc.Mapping is more common than typing.Mapping, but is it more common *in function annotations*? I don't think so.
Also, I like showing e.g. Iterator[Tuple[int, Any]] rather than just Iterator. This is documentation we're talking about, and the parameter types are very useful as documentation. (However, abbreviating List[Any] as List is fine, since they mean the same thing.) |
|
Date |
User |
Action |
Args |
2016-10-22 14:35:18 | gvanrossum | set | recipients:
+ gvanrossum, yselivanov, levkivskyi, Spencer Brown, David E. Franco G. |
2016-10-22 14:35:18 | gvanrossum | set | messageid: <1477146918.21.0.288834462479.issue27989@psf.upfronthosting.co.za> |
2016-10-22 14:35:18 | gvanrossum | link | issue27989 messages |
2016-10-22 14:35:17 | gvanrossum | create | |
|