src/eric7/JediInterface/AssistantJedi.py

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10704
27d21e5163b8
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
239 self.__menu.addSeparator() 239 self.__menu.addSeparator()
240 self.__menu.addAction( 240 self.__menu.addAction(
241 self.tr("Extract Function"), self.__jediServer.refactoringExtractFunction 241 self.tr("Extract Function"), self.__jediServer.refactoringExtractFunction
242 ) 242 )
243 243
244 def __editorShowMenu(self, menuName, menu, editor): # noqa: U100 244 def __editorShowMenu(self, menuName, _menu, editor):
245 """ 245 """
246 Private slot called, when the the editor context menu or a submenu is 246 Private slot called, when the the editor context menu or a submenu is
247 about to be shown. 247 about to be shown.
248 248
249 @param menuName name of the menu to be shown 249 @param menuName name of the menu to be shown
250 @type str 250 @type str
251 @param menu reference to the menu 251 @param _menu reference to the menu (unused)
252 @type QMenu 252 @type QMenu
253 @param editor reference to the editor 253 @param editor reference to the editor
254 @type Editor 254 @type Editor
255 """ 255 """
256 if menuName == "Main": 256 if menuName == "Main":

eric ide

mercurial