From: Andrew M. Kuchling Date: Mon, 13 Aug 2001 14:52:37 +0000 (+0000) Subject: Remove unused variable (PyChecker) X-Git-Tag: v2.2a3~596 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77f9caf633d8be5d83c2d33d6a36fef80f64bb99;p=thirdparty%2FPython%2Fcpython.git Remove unused variable (PyChecker) --- diff --git a/Lib/gopherlib.py b/Lib/gopherlib.py index f5bbca52b741..8dea5660e696 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 4fd55c85ea71..51faaf6a0d98 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 09a2fd90a799..c2249f368166 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