~pythonregexp2.7/python/issue2636-01

« back to all changes in this revision

Viewing changes to Doc/library/cmd.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:37:21 UTC
  • mfrom: (39022.1.14 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609143721-bj0g1mwta28038da
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
   The optional arguments *stdin* and *stdout* specify the  input and output file
28
28
   objects that the Cmd instance or subclass  instance will use for input and
29
 
   output. If not specified, they will default to *sys.stdin* and *sys.stdout*.
 
29
   output. If not specified, they will default to :data:`sys.stdin` and
 
30
   :data:`sys.stdout`.
 
31
 
 
32
   If you want a given *stdin* to be used, make sure to set the instance's
 
33
   :attr:`use_rawinput` attribute to ``False``, otherwise *stdin* will be
 
34
   ignored.
30
35
 
31
36
   .. versionchanged:: 2.3
32
37
      The *stdin* and *stdout* parameters were added.