File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ The :mod:`pty` module defines the following functions:
49
49
50
50
The functions *master_read * and *stdin_read * are passed a file descriptor
51
51
which they should read from, and they should always return a byte string. In
52
- order to force spawn to return before the child process exits an * OsError *
53
- should be thrown.
52
+ order to force spawn to return before the child process exits an
53
+ :exc: ` OSError ` should be thrown.
54
54
55
55
The default implementation for both functions will read and return up to 1024
56
- bytes each time the function is called. * Master_read * is passed the
57
- pseudoterminal’s master file descriptor to read output from the child
56
+ bytes each time the function is called. The * master_read * callback is passed
57
+ the pseudoterminal’s master file descriptor to read output from the child
58
58
process, and *stdin_read * is passed file descriptor 0, to read from the
59
59
parent process's standard input.
60
60
You can’t perform that action at this time.
0 commit comments