15 ms·
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)
by Mumps 11mo ago
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)
- quibono 11mo agoWait, is `List` to be avoided now? I'm behind the times then. I figured it was still the preferred type hint over `list`.
- Mumps 11mo 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/