summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-08-13 14:52:37 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-08-13 14:52:37 (GMT)
commit77f9caf633d8be5d83c2d33d6a36fef80f64bb99 (patch)
tree0f994595cd13510a4996e6db5b94970dbfcdfac8
parent1f877ef1993eaa40167fbdd818739e77ae1b9424 (diff)
downloadcpython-77f9caf633d8be5d83c2d33d6a36fef80f64bb99.zip
cpython-77f9caf633d8be5d83c2d33d6a36fef80f64bb99.tar.gz
cpython-77f9caf633d8be5d83c2d33d6a36fef80f64bb99.tar.bz2
Remove unused variable (PyChecker)
-rw-r--r--Lib/gopherlib.py1
-rw-r--r--Lib/pstats.py1
-rw-r--r--Lib/rfc822.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py
index f5bbca5..8dea566 100644
--- a/Lib/gopherlib.py
+++ b/Lib/gopherlib.py
@@ -169,7 +169,6 @@ def test():
selector = DEF_SELECTOR
type = selector[0]
host = DEF_HOST
- port = DEF_PORT
if args:
host = args[0]
args = args[1:]
diff --git a/Lib/pstats.py b/Lib/pstats.py
index 4fd55c8..51faaf6 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -185,7 +185,6 @@ class Stats:
"""Expand all abbreviations that are unique."""
if not self.sort_arg_dict:
self.sort_arg_dict = dict = {}
- std_list = dict.keys()
bad_list = {}
for word in self.sort_arg_dict_default.keys():
fragment = word
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 09a2fd9..c2249f3 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -633,7 +633,6 @@ class AddrlistClass:
expectroute = 1
elif self.field[self.pos] == ':':
self.pos = self.pos + 1
- expectaddrspec = 1
else:
adlist = self.getaddrspec()
self.pos = self.pos + 1