Remove duplicated docstrings
This commit is contained in:
parent
14ecbc0cec
commit
7d1b1d354d
@ -522,7 +522,6 @@ class LineEditPrompt(_BasePrompt):
|
||||
return True
|
||||
|
||||
def _allowed_commands(self):
|
||||
"""Get the commands we could run as response to this message."""
|
||||
return [('prompt-accept', 'Accept'), ('leave-mode', 'Abort')]
|
||||
|
||||
|
||||
@ -631,7 +630,6 @@ class FilenamePrompt(_BasePrompt):
|
||||
self._insert_path(idx, clicked=False)
|
||||
|
||||
def _allowed_commands(self):
|
||||
"""Get the commands we could run as response to this message."""
|
||||
return [('prompt-accept', 'Accept'), ('leave-mode', 'Abort')]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user