Hacker News new | ask | show | jobs
by lvass 1644 days ago
You can represent it as whatever and monkey patch it's __mul__. It's a bit complicated with standard library structures that may be implemented in C, though.