On 5/20/06, Tony Lownds <tony at printra.net> wrote: > How about just dict[str:int]? A bit too clever, although it happens to work syntactically -- it calls dict.__getitem__(slice(str, int)). -- --Guido van Rossum (home page: http://www.python.org/~guido/)