Using '__mul__' within a class

James Stroud jstroud at mbi.ucla.edu
Sat Sep 24 16:16:14 EDT 2005


Shoot, Square() should be:

     def Square(self):
         self.Multiply(self)

Forgot to proofread before hitting send.

James

-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/



More information about the Python-list mailing list