3 ms·
The new generic typing seems intuitive - https://docs.python.org/3.12/whatsnew/3.12.html#pep-695-type-parameter-syntax https://docs.python.org/3.12/whatsnew/3.1
by smallerfish 3y ago
The new generic typing seems intuitive - https://docs.python.org/3.12/whatsnew/3.12.html#pep-695-type-parameter-syntax https://docs.python.org/3.12/whatsnew/3.12.html#pep-695-type.... I've never run into its gross predecessor: https://peps.python.org/pep-0484/#generics https://peps.python.org/pep-0484/#generics. Nice change.