diff --git a/jpype/_core.py b/jpype/_core.py index 41a5c3b75..91d225fd9 100644 --- a/jpype/_core.py +++ b/jpype/_core.py @@ -124,7 +124,7 @@ def _handleClassPath( """ Return a classpath which represents the given tuple of classpath specifications """ - out = [] + out: list[str] = [] if classpath is None: return out if isinstance(classpath, (str, os.PathLike)):