On 30-7-2013 21:30, Ethan Furman wrote:
On 07/30/2013 11:58 AM, Ian Kelly wrote:
On Tue, Jul 30, 2013 at 12:18 PM, Bas van der Wulp
wrote:
Replacing each occurrence of self._value with either self._value_ or
self.value in the examples seems to make them work as expected.
Are both examples
Using the enum34 0.9.13 package from PyPi in Python 2.7.3, the examples
for OrderedEnum seem to be broken.
The example in the package documentation reads:
class OrderedEnum(Enum):
def __ge__(self, other):
if self.__class__ is other.__class__:
return self._value >= other.