mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
Remove unused imports from gdb's Python code
The "sys" import is unused in several Python files. This removes this line from all the places where it is unnecessary.
This commit is contained in:
@ -17,7 +17,6 @@
|
|||||||
"""Implementation of the GDB 'explore' command using the GDB Python API."""
|
"""Implementation of the GDB 'explore' command using the GDB Python API."""
|
||||||
|
|
||||||
import gdb
|
import gdb
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
class Explorer(object):
|
class Explorer(object):
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
import gdb.printing
|
import gdb.printing
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
import gdb
|
import gdb
|
||||||
import gdb.types
|
import gdb.types
|
||||||
import re
|
import re
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
class PrettyPrinter(object):
|
class PrettyPrinter(object):
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
import gdb
|
import gdb
|
||||||
import re
|
import re
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
class XMethod(object):
|
class XMethod(object):
|
||||||
|
Reference in New Issue
Block a user