Skip to content

Commit 6bfccbb

Browse files
committed
single line
1 parent 053efe0 commit 6bfccbb

File tree

1 file changed

+13
-36
lines changed

1 file changed

+13
-36
lines changed

third_party/3/dateutil/parser.pyi

Lines changed: 13 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,52 +14,29 @@ class parserinfo(object):
1414
PERTAIN = ... # type: List[str]
1515
TZOFFSET = ... # type: Dict[str, int]
1616

17-
def __init__(self, dayfirst: bool=..., yearfirst: bool=...) -> None:
18-
...
19-
20-
def jump(self, name: str) -> bool:
21-
...
22-
23-
def weekday(self, name: str) -> str:
24-
...
25-
26-
def month(self, name: str) -> str:
27-
...
28-
29-
def hms(self, name: str) -> str:
30-
...
31-
32-
def ampm(self, name: str) -> str:
33-
...
34-
35-
def pertain(self, name: str) -> bool:
36-
...
37-
38-
def utczone(self, name: str) -> bool:
39-
...
40-
41-
def tzoffset(self, name: str) -> int:
42-
...
43-
44-
def convertyear(self, year: int) -> int:
45-
...
46-
47-
def validate(self, year: datetime) -> bool:
48-
...
17+
def __init__(self, dayfirst: bool=..., yearfirst: bool=...) -> None: ...
18+
def jump(self, name: str) -> bool: ...
19+
def weekday(self, name: str) -> str: ...
20+
def month(self, name: str) -> str: ...
21+
def hms(self, name: str) -> str: ...
22+
def ampm(self, name: str) -> str: ...
23+
def pertain(self, name: str) -> bool: ...
24+
def utczone(self, name: str) -> bool: ...
25+
def tzoffset(self, name: str) -> int: ...
26+
def convertyear(self, year: int) -> int: ...
27+
def validate(self, year: datetime) -> bool: ...
4928

5029

5130
class parser(object):
52-
def __init__(self, info: parserinfo=...) -> None:
53-
...
31+
def __init__(self, info: parserinfo=...) -> None: ...
5432

5533
def parse(
5634
self,
5735
timestr: str,
5836
default: Optional[datetime],
5937
ignoretz: bool=...,
6038
tzinfos =...,
61-
) -> datetime:
62-
...
39+
) -> datetime: ...
6340

6441
DEFAULTPARSER = ... # type: parser
6542

0 commit comments

Comments
 (0)