in reply to What makes (caller(0))[1] do what it does?
It's a list slice. You can do it with any list:
print +(1, 2, 3)[1]; # 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What makes (caller(0))[1] do what it does?
by rongoral (Beadle) on Aug 28, 2007 at 15:58 UTC |