[Python-checkins] cpython (2.7): [backport to 2.7] - issue8519 - Reference termios and ioctl manual pages in the

senthil.kumaran python-checkins at python.org
Fri Jun 3 02:51:27 EDT 2016


https://hg.python.org/cpython/rev/55886a6aed4b
changeset:   101646:55886a6aed4b
branch:      2.7
parent:      101643:e2e309fb2b1e
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Thu Jun 02 23:51:22 2016 -0700
summary:
  [backport to 2.7] - issue8519 - Reference termios and ioctl manual pages in the library documentation.

files:
  Doc/library/fcntl.rst   |  4 +++-
  Doc/library/termios.rst |  8 ++++----
  2 files changed, 7 insertions(+), 5 deletions(-)


diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst
--- a/Doc/library/fcntl.rst
+++ b/Doc/library/fcntl.rst
@@ -12,7 +12,9 @@
    pair: UNIX; I/O control
 
 This module performs file control and I/O control on file descriptors. It is an
-interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines.
+interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines.  For a
+complete description of these calls, see :manpage:`fcntl(2)` and
+:manpage:`ioctl(2)` Unix manual pages.
 
 All functions in this module take a file descriptor *fd* as their first
 argument.  This can be an integer file descriptor, such as returned by
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst
--- a/Doc/library/termios.rst
+++ b/Doc/library/termios.rst
@@ -11,10 +11,10 @@
    pair: POSIX; I/O control
    pair: tty; I/O control
 
-This module provides an interface to the POSIX calls for tty I/O control.  For a
-complete description of these calls, see the POSIX or Unix manual pages.  It is
-only available for those Unix versions that support POSIX *termios* style tty
-I/O control (and then only if configured at installation time).
+This module provides an interface to the POSIX calls for tty I/O control. For a
+complete description of these calls, see :manpage:`termios(2)` Unix manual
+page.  It is only available for those Unix versions that support POSIX
+*termios* style tty I/O control configured during installation.
 
 All functions in this module take a file descriptor *fd* as their first
 argument.  This can be an integer file descriptor, such as returned by

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list