Skip to content

Commit 68efdd3

Browse files
committed
with union
1 parent 330a485 commit 68efdd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

third_party/3/dateutil/parser.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Tuple, Optional, Callable
1+
from typing import List, Tuple, Optional, Callable, Union
22
from datetime import datetime
33

44
__all__ = ... # type: List[str]
@@ -32,7 +32,7 @@ class parser(object):
3232

3333
def parse(
3434
self,
35-
timestr: str,
35+
timestr: Union[str, bytes, IO[Any]],
3636
default: Optional[datetime],
3737
ignoretz: bool=...,
3838
tzinfos =...,

0 commit comments

Comments
 (0)