Kaydet (Commit) a7ac20f8 authored tarafından Georg Brandl's avatar Georg Brandl

#3010: clarification about stdin/use_rawinput.

üst 700a6350
...@@ -26,7 +26,12 @@ interface. ...@@ -26,7 +26,12 @@ interface.
The optional arguments *stdin* and *stdout* specify the input and output file The optional arguments *stdin* and *stdout* specify the input and output file
objects that the Cmd instance or subclass instance will use for input and objects that the Cmd instance or subclass instance will use for input and
output. If not specified, they will default to *sys.stdin* and *sys.stdout*. output. If not specified, they will default to :data:`sys.stdin` and
:data:`sys.stdout`.
If you want a given *stdin* to be used, make sure to set the instance's
:attr:`use_rawinput` attribute to ``False``, otherwise *stdin* will be
ignored.
.. versionchanged:: 2.3 .. versionchanged:: 2.3
The *stdin* and *stdout* parameters were added. The *stdin* and *stdout* parameters were added.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment