Carl Banks wrote: > That's probably even more readable than class A, if not as familiar. > My biggest concern with this is the special arguments of the caller. > It breaks my heart that we couldn't do something like this: > > create dict keymap: > A = 1 > B = 2 >
Why couldn't you? Maybe I'm not reading carefully enough, but I didn't see anything in the PEP prohibiting that. As long as dict knows how to take arguments appropriately. - Michael -- mouse, n: a device for pointing at the xterm in which you want to type. -- Fortune Visit me on the Web: http://www.elehack.net -- http://mail.python.org/mailman/listinfo/python-list