2007-12-29 拡張スライス記法 >>> class Foo(object): def __getitem__(self, args): print args >>> Foo()[1, 2, ..., 5] (1, 2, Ellipsis, 5)へー。 だんだん僕の好きだったPythonではなくなっていくなぁ。