Message386701
The patch PR blocks out a useful idiom: generic Nametuple
>>> class LLNode(NamedTuple, Generic[T]):
... value :T
... next: Optional[LLNode[T]]
I put forward that, at the least, NamedTuple should accept do-nothing bases like Generic. |
|
| Date |
User |
Action |
Args |
| 2021-02-09 09:57:06 | avrahami.ben | set | recipients:
+ avrahami.ben, rhettinger, serhiy.storchaka, levkivskyi, rectalogic |
| 2021-02-09 09:57:06 | avrahami.ben | set | messageid: <[email protected]> |
| 2021-02-09 09:57:06 | avrahami.ben | link | issue36517 messages |
| 2021-02-09 09:57:06 | avrahami.ben | create | |
|