mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 12:51:27 +08:00
Add parser to invoke.completion.complete.complete (#8819)
Closes https://github.com/python/typeshed/issues/8818
This commit is contained in:
@@ -2,8 +2,10 @@ from collections.abc import Iterable, Sequence
|
||||
from typing import NoReturn
|
||||
|
||||
from ..collection import Collection
|
||||
from ..parser import ParserContext, ParseResult
|
||||
from ..parser import Parser, ParserContext, ParseResult
|
||||
|
||||
def complete(names: Iterable[str], core: ParseResult, initial_context: ParserContext, collection: Collection) -> NoReturn: ...
|
||||
def complete(
|
||||
names: Iterable[str], core: ParseResult, initial_context: ParserContext, collection: Collection, parser: Parser
|
||||
) -> NoReturn: ...
|
||||
def print_task_names(collection: Collection) -> None: ...
|
||||
def print_completion_script(shell: str, names: Sequence[str]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user