| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,9 +34,12 @@ The :mod:`pty` module defines the following functions: | |||
| 34 | 34 | ||
| 35 | 35 | .. function:: openpty() | |
| 36 | 36 | ||
| 37 | - Open a new pseudo-terminal pair, using :func:`os.openpty` if possible, or | ||
| 38 | - emulation code for generic Unix systems. Return a pair of file descriptors | ||
| 39 | - ``(master, slave)``, for the master and the slave end, respectively. | ||
| 37 | + Open a new pseudo-terminal pair, this is an alias for :func:`os.openpty`. | ||
| 38 | + Return a pair of file descriptors ``(master, slave)``, for the "master" and | ||
| 39 | + the "slave" sides of the ``pty``. | ||
| 40 | + | ||
| 41 | + .. versionchanged:: 3.12 | ||
| 42 | + Emulation on legacy Unix systems without :func:`os.openpty` was removed. | ||
| 40 | 43 | ||
| 41 | 44 | ||
| 42 | 45 | .. function:: spawn(argv[, master_read[, stdin_read]]) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments