]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[2.7] IDLE: Fix typo in keybindingDialog.py (GH-2322) (GH-12231)
authorTerry Jan Reedy <tjreedy@udel.edu>
Fri, 8 Mar 2019 03:16:07 +0000 (22:16 -0500)
committerGitHub <noreply@github.com>
Fri, 8 Mar 2019 03:16:07 +0000 (22:16 -0500)
Cherry picked by hand from a0e911b

Lib/idlelib/keybindingDialog.py

index 755f1af47e2184bfa7094247b4ee6e9b12c0eda5..9713c79aae225ec5831fc4f00adc353b0114fd47 100644 (file)
@@ -182,7 +182,7 @@ class GetKeysDialog(Toplevel):
 
     def LoadFinalKeyList(self):
         #these tuples are also available for use in validity checks
-        self.functionKeys=('F1','F2','F2','F4','F5','F6','F7','F8','F9',
+        self.functionKeys=('F1','F2','F3','F4','F5','F6','F7','F8','F9',
                 'F10','F11','F12')
         self.alphanumKeys=tuple(string.ascii_lowercase+string.digits)
         self.punctuationKeys=tuple('~!@#%^&*()_-+={}[]|;:,.<>/?')