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 i
(self, prompt="")
| 327 | return more |
| 328 | |
| 329 | def raw_input(self, prompt=""): |
| 330 | """Write a prompt and read a line. |
| 331 | |
| 332 | The returned line does not include the trailing newline. |
| 333 | When the user enters the EOF key sequence, EOFError is raised. |
| 334 | |
| 335 | The base implementation uses the built-in function |
| 336 | input(); a subclass may replace this with a different |
| 337 | implementation. |
| 338 | |
| 339 | """ |
| 340 | return input(prompt) |
| 341 | |
| 342 | |
| 343 | class Quitter: |