We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff12bc4 commit 6183830Copy full SHA for 6183830
Doc/library/pty.rst
@@ -34,9 +34,12 @@ The :mod:`pty` module defines the following functions:
34
35
.. function:: openpty()
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.
+ Open a new pseudo-terminal pair, this is an alias for :func:`os.openpty`.
+ Return a pair of file descriptors ``(master, slave)``, for the "master" and
+ the "slave" sides of the ``pty``.
40
+
41
+.. versionchanged:: 3.12
42
+ Emulation on legacy Unix systems without :func:`os.openpty` was removed.
43
44
45
.. function:: spawn(argv[, master_read[, stdin_read]])
0 commit comments