@classmethod def from_pair(self, rows, columns): return Matrix([rows, columns]) # Or with the right argument
Er... I'm not sure why I named that argument "self", it should be "cls" if you don't want to confuse anyone reading your code.
--
http://mail.python.org/mailman/listinfo/python-list