On Monday, March 3, 2014 7:18:00 PM UTC+5:30, Rustom Mody wrote:

> Unfortunately modern versions give a less helpful error message
> '++' is list-append, '?' is the prompt

> ? [1,2] + [[3,4],[5]]                   

Whoops Wrong cut-paste!

? [1,2] ++ [[3,4],[5]]
ERROR: Type error in application
*** expression     : [1,2] ++ [[3,4],[5]]
*** term           : [1,2]
*** type           : [Int]
*** does not match : [[Int]]

? 

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to