Skip to content

Commit ae974db

Browse files
committed
rrule.weekday(...) returns rrule.weekdays, not _common.weekdays.
1 parent ac35a18 commit ae974db

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

third_party/2and3/dateutil/_common.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
from typing import Optional
1+
from typing import Optional, TypeVar, Type
2+
3+
_T = TypeVar("_T")
24

35
class weekday(object):
46
def __init__(self, weekday: int, n: Optional[int] = ...) -> None: ...
57

6-
def __call__(self, n: int) -> weekday: ...
8+
def __call__(self: _T, n: int) -> _T: ...
79

810
def __eq__(self, other) -> bool: ...
911

0 commit comments

Comments
 (0)