summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-05-05 02:45:47 (GMT)
committerRaymond Hettinger <python@rcn.com>2015-05-05 02:45:47 (GMT)
commitad17be76823d6570641639d921a3cf4a09bbc86a (patch)
treee01a4fa8552ab698ad5ce2a82de5428446d991d4
parent00607e91bdcd612195610db87edcf1c4bff4d27f (diff)
downloadcpython-ad17be76823d6570641639d921a3cf4a09bbc86a.zip
cpython-ad17be76823d6570641639d921a3cf4a09bbc86a.tar.gz
cpython-ad17be76823d6570641639d921a3cf4a09bbc86a.tar.bz2
Issue #24113: Remove unreachable code in shlex.
-rw-r--r--Lib/shlex.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/shlex.py b/Lib/shlex.py
index 4672553..f083918 100644
--- a/Lib/shlex.py
+++ b/Lib/shlex.py
@@ -49,9 +49,6 @@ class shlex:
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"