From 70a6b49821a3226f55e9716f32d802d06640cb89 Mon Sep 17 00:00:00 2001 From: Walter Dörwald Date: Thu, 12 Feb 2004 17:35:32 +0000 Subject: Replace backticks with repr() or "%r" From SF patch #852334. --- Lib/idlelib/configDialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/idlelib/configDialog.py') diff --git a/Lib/idlelib/configDialog.py b/Lib/idlelib/configDialog.py index 8c3eb3eb5a7..4e4e564cb64 100644 --- a/Lib/idlelib/configDialog.py +++ b/Lib/idlelib/configDialog.py @@ -718,7 +718,7 @@ class ConfigDialog(Toplevel): 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 @@ class ConfigDialog(Toplevel): 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 -- cgit v1.2.3