summaryrefslogtreecommitdiff
path: root/Demo/newmetaclasses/Enum.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/newmetaclasses/Enum.py')
-rw-r--r--Demo/newmetaclasses/Enum.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/newmetaclasses/Enum.py b/Demo/newmetaclasses/Enum.py
index 8a00b59f21..5d490a9fc0 100644
--- a/Demo/newmetaclasses/Enum.py
+++ b/Demo/newmetaclasses/Enum.py
@@ -97,7 +97,7 @@ def _test():
print Color.red
- print `Color.red`
+ print repr(Color.red)
print Color.red == Color.red
print Color.red == Color.blue
print Color.red == 1
@@ -139,7 +139,7 @@ def _test2():
print Color.red
- print `Color.red`
+ print repr(Color.red)
print Color.red == Color.red
print Color.red == Color.blue
print Color.red == 1