Add ret_type keyword argument for croniter (#668)

The croniter __init__ method does have a ret_type keyword argument.

See also https://github.com/kiorky/croniter/blob/062fdc0/src/croniter/croniter.py#L66.
This commit is contained in:
Ruud van Asseldonk
2016-11-09 17:18:09 +01:00
committed by Guido van Rossum
parent 13b1cdc834
commit ca98a8ee91

View File

@@ -15,7 +15,7 @@ class croniter:
cur = ... # type: Any
exprs = ... # type: Any
expanded = ... # type: Any
def __init__(self, expr_format, start_time=...) -> None: ...
def __init__(self, expr_format, start_time=..., ret_type=...) -> None: ...
def get_next(self, ret_type=...): ...
def get_prev(self, ret_type=...): ...
def get_current(self, ret_type=...): ...