Skip to content

Commit

Permalink
Merge pull request #21524 from dalthviz/fix_spyder_completion_provider
Browse files Browse the repository at this point in the history
PR: Fix syntax error over the completion plugin API (`SpyderCompletionProvider` class) (Completion)
  • Loading branch information
ccordoba12 authored Nov 15, 2023
2 parents df566f1 + b63675c commit a5f329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/plugins/completion/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ def create_menu(self, name, text=None, icon=None):
"""
self.main.create_menu(name, text=text, icon=icon)

def get_menu(name, context: Optional[str] = None,
def get_menu(self, name, context: Optional[str] = None,
plugin: Optional[str] = None):
"""Retrieve a menu by its id."""
if context is None and plugin is None:
Expand Down

0 comments on commit a5f329a

Please sign in to comment.