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

Method raw_input

tools/python-3.11.9-amd64/Lib/code.py:263–274  ·  view source on GitHub ↗

Write a prompt and read a line. The returned line does not include the trailing newline. When the user enters the EOF key sequence, EOFError is raised. The base implementation uses the built-in function input(); a subclass may replace this with a different

(self, prompt="")

Source from the content-addressed store, hash-verified

261 return more
262
263 def raw_input(self, prompt=""):
264 """Write a prompt and read a line.
265
266 The returned line does not include the trailing newline.
267 When the user enters the EOF key sequence, EOFError is raised.
268
269 The base implementation uses the built-in function
270 input(); a subclass may replace this with a different
271 implementation.
272
273 """
274 return input(prompt)
275
276
277

Callers 1

interactMethod · 0.95

Calls 1

inputFunction · 0.85

Tested by

no test coverage detected