[Python-checkins] r64120 - python/trunk/Lib/test/test_heapq.py

Nick Coghlan ncoghlan at gmail.com
Wed Jun 11 16:52:15 CEST 2008


raymond.hettinger wrote:
> +        class LE:
> +            def __init__(self, x):
> +                self.x = x
> +            def __lt__(self, other):
> +                return self.x >= other.x

Looks like a typo in the method name here.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-checkins mailing list