On Thu, 2006-04-27 at 16:05 -0700, Eli Stevens (WG.c) wrote: > I think you'd have to create a tuple, and convert it to a set on the > fly. Which should x be in the following: > > x = (1, 2, 1) > dictOfCallables["foo"](x)
Well here's another nutty idea. We actually have two ways to create literal tuples, right? x = 1, 2, 3 x = (1, 2, 3) So let's keep the first and hijack the second to be set constructor notation. As for your other questions, I dunno, it was a dumb idea. :) -Barry
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
