Pop the input source stack.
(self)
| 88 | print('shlex: pushing to stream %s' % (self.instream,)) |
| 89 | |
| 90 | def pop_source(self): |
| 91 | "Pop the input source stack." |
| 92 | self.instream.close() |
| 93 | (self.infile, self.instream, self.lineno) = self.filestack.popleft() |
| 94 | if self.debug: |
| 95 | print('shlex: popping to %s, line %d' \ |
| 96 | % (self.instream, self.lineno)) |
| 97 | self.state = ' ' |
| 98 | |
| 99 | def get_token(self): |
| 100 | "Get a token from the input stream (or from stack if it's nonempty)" |