3 ms·
Wait, is `List` to be avoided now? I'm behind the times then. I figured it was still the preferred type hint over `list`.
by quibono 1y ago
Wait, is `List` to be avoided now? I'm behind the times then. I figured it was still the preferred type hint over `list`.
- Mumps 1y agoAvoided? Rather, probably personal preference. But it is outdated since 3.9+ over just `list` . Same for `tuple`, `dict`, and so on)[0]. [0]: https://peps.python.org/pep-0585/ https://peps.python.org/pep-0585/