Skip to content

Commit 997b743

Browse files
Apply suggestions from code review
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
1 parent ae58483 commit 997b743

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stubs/python-dateutil/dateutil/parser/_parser.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class parser:
8888
dayfirst: bool | None = ...,
8989
yearfirst: bool | None = ...,
9090
fuzzy: bool = ...,
91-
fuzzy_with_tokens: Literal[False] = ...,
91+
fuzzy_with_tokens: Literal[False] = False,
9292
) -> datetime: ...
9393
@overload
9494
def parse(
@@ -101,7 +101,7 @@ class parser:
101101
dayfirst: bool | None = ...,
102102
yearfirst: bool | None = ...,
103103
fuzzy: bool = ...,
104-
fuzzy_with_tokens: Literal[True] = ...,
104+
fuzzy_with_tokens: Literal[True],
105105
) -> tuple[datetime, tuple[str, ...]]: ...
106106

107107
DEFAULTPARSER: parser
@@ -115,7 +115,7 @@ def parse(
115115
yearfirst: bool | None = ...,
116116
ignoretz: bool = ...,
117117
fuzzy: bool = ...,
118-
fuzzy_with_tokens: Literal[False] = ...,
118+
fuzzy_with_tokens: Literal[False] = False,
119119
default: datetime | None = ...,
120120
tzinfos: _TzInfos | None = ...,
121121
) -> datetime: ...
@@ -128,7 +128,7 @@ def parse(
128128
yearfirst: bool | None = ...,
129129
ignoretz: bool = ...,
130130
fuzzy: bool = ...,
131-
fuzzy_with_tokens: Literal[True] = ...,
131+
fuzzy_with_tokens: Literal[True],
132132
default: datetime | None = ...,
133133
tzinfos: _TzInfos | None = ...,
134134
) -> tuple[datetime, tuple[str, ...]]: ...

0 commit comments

Comments
 (0)