diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-05 02:58:20 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-05 02:58:20 -0400 |
commit | a8d3ab2f64c3f8d76e687ecffdfd2211fc61b158 (patch) | |
tree | 7f93d8194bd69ef6258d8e452be1aa9ddbaa8648 /cmd2 | |
parent | 6bd2f2cb5315795d037de349507a641c733481af (diff) | |
download | cmd2-git-a8d3ab2f64c3f8d76e687ecffdfd2211fc61b158.tar.gz |
Added type hint
Diffstat (limited to 'cmd2')
-rw-r--r-- | cmd2/cmd2.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index cde3892b..3e9ea9bc 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2022,8 +2022,7 @@ class Cmd(cmd.Cmd): # we need to run the finalization hooks raise EmptyStatement - # This will be a utils.RedirectionSavedState object for the command - redir_saved_state = None + redir_saved_state = None # type: Optional[utils.RedirectionSavedState] try: # Get sigint protection while we set up redirection |