mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 22:55:24 +08:00
rrule.weekday(...) returns rrule.weekdays, not _common.weekdays. (#3274)
This commit is contained in:
6
third_party/2and3/dateutil/_common.pyi
vendored
6
third_party/2and3/dateutil/_common.pyi
vendored
@@ -1,9 +1,11 @@
|
||||
from typing import Optional
|
||||
from typing import Optional, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
class weekday(object):
|
||||
def __init__(self, weekday: int, n: Optional[int] = ...) -> None: ...
|
||||
|
||||
def __call__(self, n: int) -> weekday: ...
|
||||
def __call__(self: _T, n: int) -> _T: ...
|
||||
|
||||
def __eq__(self, other) -> bool: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user