Skip to content

Commit 1696cf1

Browse files
committed
Fixed type hints
1 parent fc3c9b9 commit 1696cf1

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

cmd2/cmd2.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@
4848
from contextlib import (
4949
redirect_stdout,
5050
)
51-
from pathlib import (
52-
Path,
53-
)
5451
from types import (
5552
ModuleType,
5653
)
@@ -223,9 +220,9 @@ def __init__(
223220
stdin: Optional[TextIO] = None,
224221
stdout: Optional[TextIO] = None,
225222
*,
226-
persistent_history_file: Path = '',
223+
persistent_history_file: str = '',
227224
persistent_history_length: int = 1000,
228-
startup_script: Path = '',
225+
startup_script: str = '',
229226
silent_startup_script: bool = False,
230227
use_ipython: bool = False,
231228
allow_cli_args: bool = True,

0 commit comments

Comments
 (0)