Changeset 9569:3bd245c51572 in orange


Ignore:
Timestamp:
01/26/12 11:35:31 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Changed 'format' member function to 'to_string'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/regression/earth.py

    r9343 r9569  
    372372                dict(self.__dict__)) 
    373373         
    374     def format(self, percision=3, indent=3): 
     374    def to_string(self, percision=3, indent=3): 
    375375        """ Return a string representation of the model. 
    376376        """ 
     
    378378         
    379379    def __str__(self): 
    380         return self.format() 
     380        return self.to_string() 
    381381     
    382382 
Note: See TracChangeset for help on using the changeset viewer.