diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-09-09 03:06:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 03:06:21 -0400 |
commit | c50def1eff00f7f44adcb911d215ace65d16aa8a (patch) | |
tree | 62575c664a651027cea415cea574454d1e4637ca /cmd2/rl_utils.py | |
parent | a975432ea87b8bde7d879f6e0974dcaffedc5f78 (diff) | |
parent | 1a2095e5c373430e5aa4bda2ee24f65f4527a002 (diff) | |
download | cmd2-git-c50def1eff00f7f44adcb911d215ace65d16aa8a.tar.gz |
Merge pull request #991 from python-cmd2/read_input
Read input enhancements
Diffstat (limited to 'cmd2/rl_utils.py')
-rw-r--r-- | cmd2/rl_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/rl_utils.py b/cmd2/rl_utils.py index 099d76b7..9163efd8 100644 --- a/cmd2/rl_utils.py +++ b/cmd2/rl_utils.py @@ -2,8 +2,8 @@ """ Imports the proper readline for the platform and provides utility functions for it """ +import enum import sys -from enum import Enum # Prefer statically linked gnureadline if available (for macOS compatibility due to issues with libedit) try: @@ -19,7 +19,7 @@ except ImportError: pass -class RlType(Enum): +class RlType(enum.Enum): """Readline library types we recognize""" GNU = 1 PYREADLINE = 2 |