mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-03 16:33:49 +08:00
cmd.Cmd.default returns None, not bool (#7193)
This commit is contained in:
1 parent
319d23a16e
commit
7682ae957a
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ class Cmd:
|
||||
def parseline(self, line: str) -> tuple[str | None, str | None, str]: ...
|
||||
def onecmd(self, line: str) -> bool: ...
|
||||
def emptyline(self) -> bool: ...
|
||||
def default(self, line: str) -> bool: ...
|
||||
def default(self, line: str) -> None: ...
|
||||
def completedefault(self, *ignored: Any) -> list[str]: ...
|
||||
def completenames(self, text: str, *ignored: Any) -> list[str]: ...
|
||||
completion_matches: list[str] | None
|
||||
|
||||
Reference in new issue
Block a user