# pty - pydoc - phpman

Help on module pty:

## NAME
    pty - Pseudo terminal utilities.

## MODULE REFERENCE
    <https://docs.python.org/3.10/library/pty.html>

    The following documentation is automatically generated from the Python
    source files.  It may be incomplete, incorrect or include features that
    are considered implementation detail and may vary between Python
    implementations.  When in doubt, consult the module reference at the
    location listed above.

## FUNCTIONS
### fork
        fork() -> (pid, master_fd)
        Fork and make the child a session leader with a controlling terminal.

### openpty
        openpty() -> (master_fd, slave_fd)
        Open a pty master/slave pair, using os.openpty() if possible.

### spawn
        Create a spawned process.

## DATA
    __all__ = ['openpty', 'fork', 'spawn']

## FILE
    /usr/lib/python3.10/pty.py


