Kaydet (Commit) 526bec21 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

platform we don't care about

üst 65e50555
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
======================================== ========================================
.. module:: pty .. module:: pty
:platform: IRIX, Linux :platform: Linux
:synopsis: Pseudo-Terminal Handling for SGI and Linux. :synopsis: Pseudo-Terminal Handling for Linux.
.. moduleauthor:: Steen Lumholt .. moduleauthor:: Steen Lumholt
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il> .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
...@@ -14,8 +14,8 @@ concept: starting another process and being able to write to and read from its ...@@ -14,8 +14,8 @@ concept: starting another process and being able to write to and read from its
controlling terminal programmatically. controlling terminal programmatically.
Because pseudo-terminal handling is highly platform dependent, there is code to Because pseudo-terminal handling is highly platform dependent, there is code to
do it only for SGI and Linux. (The Linux code is supposed to work on other do it only for Linux. (The Linux code is supposed to work on other platforms,
platforms, but hasn't been tested yet.) but hasn't been tested yet.)
The :mod:`pty` module defines the following functions: The :mod:`pty` module defines the following functions:
...@@ -32,8 +32,8 @@ The :mod:`pty` module defines the following functions: ...@@ -32,8 +32,8 @@ The :mod:`pty` module defines the following functions:
.. function:: openpty() .. function:: openpty()
Open a new pseudo-terminal pair, using :func:`os.openpty` if possible, or Open a new pseudo-terminal pair, using :func:`os.openpty` if possible, or
emulation code for SGI and generic Unix systems. Return a pair of file emulation code for generic Unix systems. Return a pair of file descriptors
descriptors ``(master, slave)``, for the master and the slave end, respectively. ``(master, slave)``, for the master and the slave end, respectively.
.. function:: spawn(argv[, master_read[, stdin_read]]) .. function:: spawn(argv[, master_read[, stdin_read]])
......
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