From: Mike Gorse Date: Thu, 16 Apr 2009 17:36:45 +0000 (-0500) Subject: 2009-04-16 Mike Gorse X-Git-Tag: AT_SPI2_ATK_2_12_0~533 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=67bea2a771c276ecf4d847894a628bad4b9c6112 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)]