Post #4245459
2026-06-29 22:24 UTC
@nedbat@hachyderm.io With type hinting, the cultural difference became a second technical difference (`tuple[int]` is a 1 entry tuple, you have to write `tuple[int, ...]` to indicate arbitrary length, but `list[int]` is inherently arbitrary length and there is no notation for differing types at specific indexes)
Replies (1)
-
@nedbat@hachyderm.io 2026-06-29 22:38
@ancoghlan@mastodon.social This is a new and interesting point!