public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove unused import from gdb/__init__.py
@ 2024-04-02 17:09 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2024-04-02 17:09 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5ac754cf46210dd8e0ea69689c72ab91d92eb69d

commit 5ac754cf46210dd8e0ea69689c72ab91d92eb69d
Author: Tom Tromey <tromey@adacore.com>
Date:   Tue Mar 19 10:44:04 2024 -0600

    Remove unused import from gdb/__init__.py
    
    flake8 points out that the import of _gdb in gdb/__init__.py is
    unused.  Remove it.
    
    Approved-By: Simon Marchi <simon.marchi@efficios.com>

Diff:
---
 gdb/python/lib/gdb/__init__.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/python/lib/gdb/__init__.py b/gdb/python/lib/gdb/__init__.py
index cb3732e55f5..9f0f6dc1e5d 100644
--- a/gdb/python/lib/gdb/__init__.py
+++ b/gdb/python/lib/gdb/__init__.py
@@ -18,7 +18,6 @@ import threading
 import traceback
 import os
 import sys
-import _gdb
 from contextlib import contextmanager
 
 # Python 3 moved "reload"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-02 17:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-02 17:09 [binutils-gdb] Remove unused import from gdb/__init__.py Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).