Some thougts on cartesian products

Christoph Zwerschke cito at online.de
Sun Jan 22 20:12:08 CET 2006


Steven D'Aprano wrote:
> I beg to differ: Python *allows* people to create classes if they're keen
> on the syntax (and I can sympathise with that like), but Python
> *encourages* by example generic tools that operate on as many different
> types as makes sense.

But these generic tools (say the "pow" function) in turn simply use the 
methods defined by the classes.

-- Christoph




More information about the Python-list mailing list