OO refactoring trial ??

Chinook chinook.nr at tds.net
Tue Jun 28 02:44:56 EDT 2005


On Tue, 28 Jun 2005 02:22:13 -0400, Peter Otten wrote
(in article <d9qq9a$qhj$04$1 at news.t-online.com>):

> Chinook wrote:
> 
>> 3) Any other comments you might offer
> 
>> if tv == 'relates to A':
>> return True
>> else:
>> return False
> 
> Make that
> 
> return tv == 'relates to A'
> 
> lest your zen master hit you.
> 
> Peter
>  
> 
> 

Thank you Peter,

So wrapped up in the OO I overlooked the simpler aspects. 

Lee C





More information about the Python-list mailing list