document __getitem__ behavior