News for hackers. Stuff that matters.
Re:What's better about Ruby than Python? - comp.lang.python by koenigdavidmj on Friday August 27, 2010 @01:11AM (#1638063)
You can actually say `reversed(iterable)`, which returns another iterable yielding everything backwards. Now, this is not returning a string, which leads to some warts:

* list(reversed(a_list)) * "".join(reversed(a_str))

and the like.

There are no comments on this comment yet.