|
|
|
|
|
by pansa2
2285 days ago
|
|
> It's been explicitly stated that Python will never make the type hints mandatory Type hints are already mandatory if you want to use data classes. This is unfortunate - the two features really should be orthogonal. At least when Guido was still BDFL, there was little resistance to type hints encroaching on unrelated areas of the language, and hence becoming less-and-less optional. |
|