Hacker News new | ask | show | jobs
by nerdponx 245 days ago
I wonder if we should standardize on __array__ like how Iterable is standardized on the presence of __iter__, which can just return self if the Iterable is already an Iterator.