From 1f38680cb5add1f5ea9d21c31a68d8c170dafd65 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 14 Sep 2022 19:28:42 +0530 Subject: [PATCH] ... --- src/calibre/gui2/actions/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/calibre/gui2/actions/__init__.py b/src/calibre/gui2/actions/__init__.py index ce2a096748..cd905cff44 100644 --- a/src/calibre/gui2/actions/__init__.py +++ b/src/calibre/gui2/actions/__init__.py @@ -71,9 +71,9 @@ class InterfaceAction(QObject): #: key is held down. auto_repeat = False - #: Of the form: (text, icon_path, tooltip, keyboard shortcut) - #: icon, tooltip and keyboard shortcut can be None - #: shortcut must be a string, None or tuple of shortcuts. + #: Of the form: (text, icon_path, tooltip, keyboard shortcut). + #: icon, tooltip and keyboard shortcut can be None. + #: keyboard shortcut must be either a string, None or tuple of shortcuts. #: If None, a keyboard shortcut corresponding to the action is not #: registered. If you pass an empty tuple, then the shortcut is registered #: with no default key binding.