diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-27 19:53:06 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-09-27 19:54:45 +0200 |
| commit | 7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd (patch) | |
| tree | d0aad3d1d3cf99aaf799b40fd3fdce8f3112067e /examples/menuconfig_example.py | |
| parent | d0ebcc592c74995957f3b7f46408fb3a528142f4 (diff) | |
Use a consistent import style in the examples
Do the PEP 8 ordering thingy with standard library imports first.
Diffstat (limited to 'examples/menuconfig_example.py')
| -rw-r--r-- | examples/menuconfig_example.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/menuconfig_example.py b/examples/menuconfig_example.py index f026e74..6a5e570 100644 --- a/examples/menuconfig_example.py +++ b/examples/menuconfig_example.py @@ -117,13 +117,15 @@ # # Enter a symbol/choice name, "load_config", or "write_config" (or press CTRL+D to exit): ^D +import readline +import sys + from kconfiglib import Kconfig, \ Symbol, Choice, MENU, COMMENT, \ BOOL, TRISTATE, STRING, INT, HEX, UNKNOWN, \ expr_value, \ TRI_TO_STR -import readline -import sys + # Python 2/3 compatibility hack if sys.version_info[0] < 3: |
