[Python-checkins] CVS: python/dist/src/Modules termios.c,2.22,2.23

Fred L. Drake fdrake@users.sourceforge.net
2001年4月09日 12:32:55 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv23875/Modules
Modified Files:
	termios.c 
Log Message:
Michael Hudson <mwh21@cam.ac.uk>:
Update the docstrings to no longer refer to the obsolete TERMIOS
module.
This is a partial acceptance of SF patch #413419.
Index: termios.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/termios.c,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -r2.22 -r2.23
*** termios.c	2001年04月05日 18:26:31	2.22
--- termios.c	2001年04月09日 19:32:52	2.23
***************
*** 20,27 ****
 All functions in this module take a file descriptor fd as their first\n\
 argument. This must be an integer file descriptor, such as returned by\n\
! sys.stdin.fileno().\n\
! \n\
! This module should be used in conjunction with the TERMIOS module,\n\
! which defines the relevant symbolic constants.";
 
 
--- 20,24 ----
 All functions in this module take a file descriptor fd as their first\n\
 argument. This must be an integer file descriptor, such as returned by\n\
! sys.stdin.fileno().";
 
 
***************
*** 48,52 ****
 defined). The interpretation of the flags and the speeds as well as the\n\
 indexing in the cc array must be done using the symbolic constants defined\n\
! in the TERMIOS module.";
 
 static PyObject *
--- 45,49 ----
 defined). The interpretation of the flags and the speeds as well as the\n\
 indexing in the cc array must be done using the symbolic constants defined\n\
! in this module.";
 
 static PyObject *
***************
*** 123,129 ****
 The attributes to be set are taken from the attributes argument, which\n\
 is a list like the one returned by tcgetattr(). The when argument\n\
! determines when the attributes are changed: TERMIOS.TCSANOW to\n\
! change immediately, TERMIOS.TCSADRAIN to change after transmitting all\n\
! queued output, or TERMIOS.TCSAFLUSH to change after transmitting all\n\
 queued output and discarding all queued input. ";
 
--- 120,126 ----
 The attributes to be set are taken from the attributes argument, which\n\
 is a list like the one returned by tcgetattr(). The when argument\n\
! determines when the attributes are changed: termios.TCSANOW to\n\
! change immediately, termios.TCSADRAIN to change after transmitting all\n\
! queued output, or termios.TCSAFLUSH to change after transmitting all\n\
 queued output and discarding all queued input. ";
 
***************
*** 238,243 ****
 tcflush(fd, queue) -> None\n\
 Discard queued data on file descriptor fd.\n\
! The queue selector specifies which queue: TERMIOS.TCIFLUSH for the input\n\
! queue, TERMIOS.TCOFLUSH for the output queue, or TERMIOS.TCIOFLUSH for\n\
 both queues. ";
 
--- 235,240 ----
 tcflush(fd, queue) -> None\n\
 Discard queued data on file descriptor fd.\n\
! The queue selector specifies which queue: termios.TCIFLUSH for the input\n\
! queue, termios.TCOFLUSH for the output queue, or termios.TCIOFLUSH for\n\
 both queues. ";
 
***************
*** 263,269 ****
 tcflow(fd, action) -> None\n\
 Suspend or resume input or output on file descriptor fd.\n\
! The action argument can be TERMIOS.TCOOFF to suspend output,\n\
! TERMIOS.TCOON to restart output, TERMIOS.TCIOFF to suspend input,\n\
! or TERMIOS.TCION to restart input. ";
 
 static PyObject *
--- 260,266 ----
 tcflow(fd, action) -> None\n\
 Suspend or resume input or output on file descriptor fd.\n\
! The action argument can be termios.TCOOFF to suspend output,\n\
! termios.TCOON to restart output, termios.TCIOFF to suspend input,\n\
! or termios.TCION to restart input.";
 
 static PyObject *

AltStyle によって変換されたページ (->オリジナル) /