Diez B. Roggisch wrote:
> Why do you wrap a in a list? Just
>
> c = a + [b]
>
> will do it.

Yes I know, but the problem is I don't know if 'a' is a list or not. I
could make a type check, but I don't want to program in that way.

Noud

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

Reply via email to