mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
add missing arguments to croniter (#5887)
Co-authored-by: Søren Bjerregaard Vrist <sbv@csis.dk> Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
croniter.CroniterError
|
||||
croniter.croniter.__init__
|
||||
croniter.croniter.__next__
|
||||
croniter.croniter.expand
|
||||
croniter.croniter.get_next
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
version = "0.1"
|
||||
version = "1.0"
|
||||
python2 = true
|
||||
|
||||
@@ -23,7 +23,14 @@ class croniter(Iterator[Any]):
|
||||
dst_start_time: float
|
||||
nth_weekday_of_month: Dict[str, Any]
|
||||
def __init__(
|
||||
self, expr_format: Text, start_time: float | datetime.datetime | None = ..., ret_type: _RetType | None = ...
|
||||
self,
|
||||
expr_format: Text,
|
||||
start_time: float | datetime.datetime | None = ...,
|
||||
ret_type: _RetType | None = ...,
|
||||
day_or: bool = ...,
|
||||
max_years_between_matches: int | None = ...,
|
||||
is_prev: bool = ...,
|
||||
hash_id: str | bytes | None = ..., # unicode not accepted on python 2
|
||||
) -> None: ...
|
||||
# Most return value depend on ret_type, which can be passed in both as a method argument and as
|
||||
# a constructor argument.
|
||||
|
||||
Reference in New Issue
Block a user