| ▲ | IshKebab a year ago | |
> intention behind them was to contribute to readability This is provably wrong. See https://peps.python.org/pep-3107/#use-cases | ||
| ▲ | hbrn a year ago | parent [-] | |
Have you read the whole section? > Documentation for parameters and return values ([23]) > Let IDEs show what types a function expects and returns ([16]) > For example, one library might use string-based annotations to provide improved help messages, like so: | ||