We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac35a18 commit ae974dbCopy full SHA for ae974db
1 file changed
third_party/2and3/dateutil/_common.pyi
@@ -1,9 +1,11 @@
1
-from typing import Optional
+from typing import Optional, TypeVar, Type
2
+
3
+_T = TypeVar("_T")
4
5
class weekday(object):
6
def __init__(self, weekday: int, n: Optional[int] = ...) -> None: ...
7
- def __call__(self, n: int) -> weekday: ...
8
+ def __call__(self: _T, n: int) -> _T: ...
9
10
def __eq__(self, other) -> bool: ...
11
0 commit comments