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

15 lines
410 B
Python
Raw Normal View History

2021-12-28 22:31:53 +01:00
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): ...
@property
def seconds(self) -> int: ...
@property
def minutes(self) -> int: ...
@property
def text(self) -> str: ...
2021-12-29 16:24:22 +01:00
def total_seconds(self, delta: timedelta) -> int: ...