mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 02:42:29 +08:00
Add missing defaults to third-party stubs (#14617)
This commit is contained in:
@@ -9,7 +9,7 @@ BOTH_EDGE: Final = 3
|
||||
def add_edge_detect(
|
||||
chip_fd: int, chip_name: str, channel: int, request: int, bouncetime: int, poll_time: float
|
||||
) -> Literal[1, 2, 0]: ...
|
||||
def remove_edge_detect(chip_name: str, channel: int, timeout: float = ...) -> None: ...
|
||||
def remove_edge_detect(chip_name: str, channel: int, timeout: float = 0.3) -> None: ...
|
||||
def add_edge_callback(chip_name: str, channel: int, callback: Callable[[int], None]) -> None: ...
|
||||
def edge_event_detected(chip_name: str, channel: int) -> bool: ...
|
||||
def gpio_event_added(chip_name: str, channel: int) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user