Using @singledispatch and @singledispatchmethod interchangeably for static methods inside a class. — While writing a chess program in Python as a learning exercise, I had two separate functions for converting a position from an algebraic notation string, 'a1', to a tuple, (97, 1), and vice versa. I later merged the two functions into a static method for the Board class. class Board(): …