Skip to content

Commit 1d30c30

Browse files
committed
fix ci
1 parent 0dcbd0e commit 1d30c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typed_args/_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class ClassDef:
105105
def add_argument(
106106
*option_strings: str,
107107
action: str = ...,
108-
nargs: str | int = ...,
108+
nargs: typing.Union[str, int] = ...,
109109
const: T = ...,
110110
default: Union[T, str] = ...,
111111
type: Type[T] = ...,
@@ -160,7 +160,7 @@ def add_parser(
160160
name: str,
161161
prog: str = ...,
162162
aliases: Sequence[str] = ...,
163-
) -> dict: ...
163+
): ...
164164

165165

166166
def add_parser(name: str, **kwargs):

0 commit comments

Comments
 (0)