Oddbean new post about | logout
 I made a horrible class today

https://cdn.fosstodon.org/media_attachments/files/111/059/784/834/370/137/original/384d8f2ddccb85ff.png 
 I honestly would've thought python already had some special iterable that's a Tuple but does index%len(self) when retrieving the item.

But I needed the offset anyway 
 @ec6e9c30 Looks like a fun class to use - can't think of a particular situation though... Care to share more context?