summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/cmd2.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index b04b7771..c91fb4db 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -48,9 +48,6 @@ from collections import (
from contextlib import (
redirect_stdout,
)
-from pathlib import (
- Path,
-)
from types import (
ModuleType,
)
@@ -223,9 +220,9 @@ class Cmd(cmd.Cmd):
stdin: Optional[TextIO] = None,
stdout: Optional[TextIO] = None,
*,
- persistent_history_file: Path = '',
+ persistent_history_file: str = '',
persistent_history_length: int = 1000,
- startup_script: Path = '',
+ startup_script: str = '',
silent_startup_script: bool = False,
use_ipython: bool = False,
allow_cli_args: bool = True,