From a84790a040a990322261952a8e6dc7939c5f92b3 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Thu, 16 Apr 2009 12:36:45 -0500 Subject: [PATCH] 2009-04-16 Mike Gorse * pyatspi/base.py: Derive enum from uint. --- pyatspi/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)] -- 2.7.4