From: Mike Gorse Date: Thu, 16 Apr 2009 17:36:45 +0000 (-0500) Subject: 2009-04-16 Mike Gorse X-Git-Tag: AT_SPI2_CORE_0_1_3~68^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a84790a040a990322261952a8e6dc7939c5f92b3;p=platform%2Fupstream%2Fat-spi2-core.git 2009-04-16 Mike Gorse * pyatspi/base.py: Derive enum from uint. --- diff --git a/pyatspi/base.py b/pyatspi/base.py index 1a7141a..438f9e5 100644 --- a/pyatspi/base.py +++ b/pyatspi/base.py @@ -33,7 +33,7 @@ class AccessibleObjectNotAvailable(Exception): #------------------------------------------------------------------------------ -class Enum(int): +class Enum(uint): def __str__(self): return self._enum_lookup[int(self)]