Other giveaways like insistence on
`from typing import List`
(I'm yet to see a model be trained on modern-biased python enough to not bother with that import)
Other giveaways like insistence on
`from typing import List`
(I'm yet to see a model be trained on modern-biased python enough to not bother with that import)
Wait, is `List` to be avoided now? I'm behind the times then. I figured it was still the preferred type hint over `list`.
Avoided? 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/