src/eric7/JediInterface/AssistantJedi.py

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

eric ide

mercurial