MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / pop_source

Method pop_source

tools/python-3.11.9-amd64/Lib/shlex.py:92–99  ·  view source on GitHub ↗

Pop the input source stack.

(self)

Source from the content-addressed store, hash-verified

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

Callers 1

get_tokenMethod · 0.95

Calls 2

printFunction · 0.50
closeMethod · 0.45

Tested by

no test coverage detected