diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-03-25 18:27:29 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-03-25 18:27:29 -0400 |
commit | 1696cf109827901b81f8bc1f5d9307a20f224f8f (patch) | |
tree | f8f41f03a8da533209e1e69c7cfc737944de87db /cmd2/cmd2.py | |
parent | fc3c9b9e17e3cb89f771cc618517ebd968730938 (diff) | |
download | cmd2-git-ipy_locals.tar.gz |
Fixed type hintsipy_locals
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 7 |
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, |