]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix pyflakes warnings: variable is assigned to but never used (#142294)
authorVictor Stinner <vstinner@python.org>
Mon, 8 Dec 2025 13:00:31 +0000 (14:00 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Dec 2025 13:00:31 +0000 (14:00 +0100)
commit0b8c348f2756c193d6bd2618cadbb90b2f218ccc
tree104b314a624f113660901abf34e2bd6a0f1f26db
parentc279e95367922fd0287c2212bb5ec6452d73353e
Fix pyflakes warnings: variable is assigned to but never used (#142294)

Example of fixed warning:

    Lib/netrc.py:98:13: local variable 'toplevel'
    is assigned to but never used
32 files changed:
Lib/_py_warnings.py
Lib/_threading_local.py
Lib/asyncio/base_events.py
Lib/asyncio/proactor_events.py
Lib/asyncio/tools.py
Lib/asyncio/unix_events.py
Lib/codeop.py
Lib/compileall.py
Lib/concurrent/interpreters/_queues.py
Lib/dis.py
Lib/encodings/uu_codec.py
Lib/ftplib.py
Lib/functools.py
Lib/idlelib/pyshell.py
Lib/idlelib/textview.py
Lib/imaplib.py
Lib/inspect.py
Lib/modulefinder.py
Lib/multiprocessing/connection.py
Lib/netrc.py
Lib/ntpath.py
Lib/optparse.py
Lib/pickle.py
Lib/platform.py
Lib/pyclbr.py
Lib/re/_parser.py
Lib/subprocess.py
Lib/tempfile.py
Lib/tokenize.py
Lib/turtle.py
Lib/urllib/parse.py
Lib/venv/__init__.py