mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Oops.
This commit is contained in:
parent
c09029889a
commit
7b4694231b
1 changed files with 2 additions and 2 deletions
|
|
@ -531,12 +531,12 @@ available. They are listed here in alphabetical order.
|
|||
to a string (stripping a trailing newline), and returns that. When EOF is
|
||||
read, :exc:`EOFError` is raised. Example::
|
||||
|
||||
>>> s = raw_input('--> ')
|
||||
>>> s = input('--> ')
|
||||
--> Monty Python's Flying Circus
|
||||
>>> s
|
||||
"Monty Python's Flying Circus"
|
||||
|
||||
If the :mod:`readline` module was loaded, then :func:`raw_input` will use it
|
||||
If the :mod:`readline` module was loaded, then :func:`input` will use it
|
||||
to provide elaborate line editing and history features.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue