MCPcopy Create free account
hub / github.com/bpython/bpython / file_prompt

Method file_prompt

bpython/curtsiesfrontend/interaction.py:169–174  ·  view source on GitHub ↗

Expected to return a file name, given

(self, s)

Source from the content-addressed store, hash-verified

167 return self.main_context.switch(q)
168
169 def file_prompt(self, s):
170 """Expected to return a file name, given"""
171 self.request_context = greenlet.getcurrent()
172 self.prompt = s
173 self.in_prompt = True
174 return self.main_context.switch(s)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected