OO refactoring trial ??

Peter Otten __peter__ at web.de
Tue Jun 28 02:22:13 EDT 2005


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
 




More information about the Python-list mailing list