even shorter:

def funcA(tarray):
     s = min(len(tarray), 3)
     return [2, 3, 4][0:s] + [e for e in funcB(3-s)[0:3-s]]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to