diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-19 23:52:51 -0700 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-19 23:52:51 -0700 |
commit | da426b267921598eb9a11b9b4d5adbd64cbba8c5 (patch) | |
tree | 2c06a51e26286ff0eb3502934875d9148b98d60d /cmd2/rl_utils.py | |
parent | 58fdd089cc064e71502dc1f094fd906d30523886 (diff) | |
download | cmd2-git-da426b267921598eb9a11b9b4d5adbd64cbba8c5.tar.gz |
Started adding type hints
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py index d5bef1ff..465fcaea 100644 --- a/cmd2/rl_utils.py +++ b/cmd2/rl_utils.py @@ -2,13 +2,9 @@ """ Imports the proper readline for the platform and provides utility functions for it """ +from enum import Enum import sys -try: - from enum34 import Enum -except ImportError: - from enum import Enum - # Prefer statically linked gnureadline if available (for macOS compatibility due to issues with libedit) try: import gnureadline as readline |