Call this a C++ programmers hang-up if you like.

I don't seem to be able to define multiple versions of __init__ in my matrix 
class (ie to initialise either from a list of values or from 2 dimensions 
(rows/columns)).

Even if Python couldn't resolve the __init__ to use on the basis of argument 
types surely it could do so on the basis of argument numbers???

At any rate - any suggestions how I code this????

Thanks

Phil 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to