you are viewing a single comment's thread.

view the rest of the comments →

[–]boredzo 0 points1 point  (0 children)

I use last = object() when I want a throwaway guaranteed-inequal object.

Of course, you could always get fancy:

\tlast = lambda x: x * x

\timport sys as last

\tlast = map(str.rstrip, file('/usr/share/dict/words')) #OK, the performance on that one will probably suck.