Wouldn't a regular tuple be the most pythonic (and possibly most efficient) way to represent a point?
I think that's what most image libraries do (at least Pillow).
I think that's what most image libraries do (at least Pillow).
It would have been more instructive if the author showed the alternate solutions classified by measured speed.