Replace backticks with repr() or "%r"
From SF patch #852334.
diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py
index 8c3eb3e..4e4e564 100644
--- a/Lib/idlelib/configDialog.py
+++ b/Lib/idlelib/configDialog.py
@@ -718,7 +718,7 @@
def DeleteCustomKeys(self):
keySetName=self.customKeys.get()
if not tkMessageBox.askyesno('Delete Key Set','Are you sure you wish '+
- 'to delete the key set '+`keySetName`+' ?',
+ 'to delete the key set %r ?' % (keySetName),
parent=self):
return
#remove key set from config
@@ -745,7 +745,7 @@
def DeleteCustomTheme(self):
themeName=self.customTheme.get()
if not tkMessageBox.askyesno('Delete Theme','Are you sure you wish '+
- 'to delete the theme '+`themeName`+' ?',
+ 'to delete the theme %r ?' % (themeName,),
parent=self):
return
#remove theme from config