After asking [this question](https://stackoverflow.com/questions/23753569/function-returning-reference-to-itself-python/), it received a comment about how you could do something like this:

```
>>> def a(n):
        print(n)
        return a
>>> b = a(3)(4)(5)
3
4
5

```

Is it possible to use this or similar concepts to make it possible to index lists like `my_list(n)` instead of `my_list[n]`?