Skip to content

Commit 5a2d995

Browse files
committed
gh-89520: IDLE - Use self instead of module-level idleConf in GetExtensionKeys
GetExtensionKeys is a method on IdleConf. Using the module-level singleton idleConf instead of self is inconsistent with every other method in the class.
1 parent cf1b35f commit 5a2d995

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def GetExtensionKeys(self, extension_name):
477477
where previously used bindings are disabled.
478478
"""
479479
bindings_section = f'{extension_name}_cfgBindings'
480-
current_keyset = idleConf.GetCurrentKeySet()
480+
current_keyset = self.GetCurrentKeySet()
481481
extension_keys = {}
482482

483483
event_names = set()

0 commit comments

Comments
 (0)