diff options
Diffstat (limited to 'Demo/metaclasses/Enum.py')
-rw-r--r-- | Demo/metaclasses/Enum.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Demo/metaclasses/Enum.py b/Demo/metaclasses/Enum.py index 13a3ed7..df1d814 100644 --- a/Demo/metaclasses/Enum.py +++ b/Demo/metaclasses/Enum.py @@ -107,9 +107,9 @@ class EnumInstance: return self.__value def __repr__(self): - return "EnumInstance(%s, %s, %s)" % (`self.__classname`, - `self.__enumname`, - `self.__value`) + return "EnumInstance(%r, %r, %r)" % (self.__classname, + self.__enumname, + self.__value) def __str__(self): return "%s.%s" % (self.__classname, self.__enumname) |