summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSatish Pokala <49762924+Satishpokala124@users.noreply.github.com>2023-10-27 06:25:22 (GMT)
committerGitHub <noreply@github.com>2023-10-27 06:25:22 (GMT)
commit74f0772892c85b6e7bdfa0f44a5ff89002b0734d (patch)
treee690f82aeb9b5d8e2a69db05b516d326b309bae8 /Modules
parent7f9a99e8549b792662f2cd28bf38a4d4625bd402 (diff)
downloadcpython-74f0772892c85b6e7bdfa0f44a5ff89002b0734d.zip
cpython-74f0772892c85b6e7bdfa0f44a5ff89002b0734d.tar.gz
cpython-74f0772892c85b6e7bdfa0f44a5ff89002b0734d.tar.bz2
no-issue: Remove unused variable in getpath.py (gh-111372)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/getpath.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/getpath.py b/Modules/getpath.py
index 9913fcb..4391a61 100644
--- a/Modules/getpath.py
+++ b/Modules/getpath.py
@@ -238,8 +238,6 @@ platstdlib_dir = None
# CALCULATE program_name
# ******************************************************************************
-program_name_was_set = bool(program_name)
-
if not program_name:
try:
program_name = config.get('orig_argv', [])[0]