[Python-ideas] "Sum" Type hinting [was: Type hinting for path-related functions]

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 17 01:31:42 EDT 2016


Guido van Rossum wrote:
> I know. But this could be considered syntactic sugar.

I don't think it is just syntactic sugar. There is
a real difference between having a box containing
either an apple or a banana, and having just an
apple or a banana.

-- 
Greg


More information about the Python-ideas mailing list