On May 13, 2009, at 8:53 AM, John Cremona wrote: > Is there any reason why this line: > > print sum([1,2,3],10) > > in a .pyx file should not compile? I get the error "Call with wrong > number of arguments (expected 3, got 2)" with an arrow pointing to the > work "sum". > > This is driving me mad -- a very similar line in another .pyx file > was fine!
No idea, did you re-define sum somewhere earlier? - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---