]> granicus.if.org Git - python/commitdiff
[3.6] Fix typo in idlelib.config_key.py (GH-2322) (#2323)
authorterryjreedy <tjreedy@udel.edu>
Thu, 22 Jun 2017 02:46:07 +0000 (22:46 -0400)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2017 02:46:07 +0000 (22:46 -0400)
(cherry picked from commit a0e911b)

Lib/idlelib/config_key.py

index 26022934c3300a9e5d3537f63772fe790d673569..479d6ad313e35f22f5de7b2eb094cf4d45079d7f 100644 (file)
@@ -186,7 +186,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('~!@#%^&*()_-+={}[]|;:,.<>/?')