This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/stubs/readtime/result.pyi
2021-12-31 12:08:35 +01:00

14 lines
417 B
Python

from datetime import timedelta
class Result:
delta: timedelta | None
wpm: int | None
def __init__(self, seconds: int | None = ..., wpm: int | None = ...) -> None: ...
def __unicode__(self) -> str: ...
@property
def seconds(self) -> int: ...
@property
def minutes(self) -> int: ...
@property
def text(self) -> str: ...
def total_seconds(self, delta: timedelta) -> int: ...