summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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