diff options
-rw-r--r-- | gdb/python/lib/gdb/__init__.py | 3 | ||||
-rw-r--r-- | gdb/python/lib/gdb/disassembler.py | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/python/lib/gdb/__init__.py b/gdb/python/lib/gdb/__init__.py index 9f0f6dc..2ff1f95 100644 --- a/gdb/python/lib/gdb/__init__.py +++ b/gdb/python/lib/gdb/__init__.py @@ -26,7 +26,8 @@ if sys.version_info >= (3, 4): else: from imp import reload -from _gdb import * +# Note that two indicators are needed here to silence flake8. +from _gdb import * # noqa: F401,F403 # Historically, gdb.events was always available, so ensure it's # still available without an explicit import. diff --git a/gdb/python/lib/gdb/disassembler.py b/gdb/python/lib/gdb/disassembler.py index 2d313ae..af7dcc5 100644 --- a/gdb/python/lib/gdb/disassembler.py +++ b/gdb/python/lib/gdb/disassembler.py @@ -19,8 +19,9 @@ import gdb import _gdb.disassembler # Re-export everything from the _gdb.disassembler module, which is -# defined within GDB's C++ code. -from _gdb.disassembler import * +# defined within GDB's C++ code. Note that two indicators are needed +# here to silence flake8. +from _gdb.disassembler import * # noqa: F401,F403 # Module global dictionary of gdb.disassembler.Disassembler objects. # The keys of this dictionary are bfd architecture names, or the |