syntax difference (type hints)

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Jun 19 01:52:31 EDT 2018


Steven D'Aprano wrote:
> Sometimes the type system cannot infer the type of a variable 
> or name, and needs a hint from the author.

Or it can infer it, but is unable to produce intelligible
error messages without some intermediate signposts to
follow.

-- 
Greg



More information about the Python-list mailing list