[Python-checkins] cpython: Issue #24113: Remove unreachable code in shlex.

raymond.hettinger python-checkins at python.org
Tue May 5 04:45:54 CEST 2015


https://hg.python.org/cpython/rev/395e190ead36
changeset:   95881:395e190ead36
user:        Raymond Hettinger <python at rcn.com>
date:        Mon May 04 22:45:47 2015 -0400
summary:
  Issue #24113:  Remove unreachable code in shlex.

files:
  Lib/shlex.py |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Lib/shlex.py b/Lib/shlex.py
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -49,9 +49,6 @@
         self.token = ''
         self.filestack = deque()
         self.source = None
-        if self.debug:
-            print('shlex: reading from %s, line %d' \
-                  % (self.instream, self.lineno))
 
     def push_token(self, tok):
         "Push a token onto the stack popped by the get_token method"

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list