top | item 45695698 (no title) Mumps | 4 months 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) discuss order hn newest quibono|4 months 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|4 months ago 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/
quibono|4 months 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|4 months ago 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/
Mumps|4 months ago 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/
quibono|4 months ago
Mumps|4 months ago
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/