Files
pybricks-api/src/pybricks/tools.pyi
T
David Lechner 7126431f9f pybricks: move into src/ directory
Moving the pybricks package into a src/ directory so that we can add
additional packages without polluting the top-level directory.
2021-07-14 09:41:30 +02:00

24 lines
527 B
Python

# SPDX-License-Identifier: MIT
# Copyright (c) 2020 The Pybricks Authors
from typing import Any
def wait(time: int) -> None: ...
class StopWatch:
def time(self) -> int: ...
def pause(self) -> None: ...
def resume(self) -> None: ...
def reset(self) -> None: ...
class DataLog:
def __init__(
self,
*headers: str,
name: str = "log",
timestamp: bool = True,
extension: str = "csv",
append: bool = False
): ...
def log(self, *values: Any) -> None: ...