From 60e68fec3455ab9f73ce9b79434c12f67b3c96f0 Mon Sep 17 00:00:00 2001 From: Karl Nelson Date: Sun, 10 Dec 2023 12:26:00 -0800 Subject: [PATCH] Another attempt --- jpype/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jpype/_core.py b/jpype/_core.py index 3e2db229e..072e9ad85 100644 --- a/jpype/_core.py +++ b/jpype/_core.py @@ -163,7 +163,7 @@ def interactive(): def startJVM( *jvmargs: str, jvmpath: typing.Optional[_PathOrStr] = None, - classpath: typing.Optional[typing.Sequence[_PathOrStr], _PathOrStr] = None, + classpath: typing.Union[typing.Sequence[_PathOrStr], _PathOrStr, None] = None, ignoreUnrecognized: bool = False, convertStrings: bool = False, interrupt: bool = not interactive(),