Skip to content

Commit 3f67273

Browse files
committed
Fix markup/formatting feedback
1 parent 2e8cb2b commit 3f67273

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/pty.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ The :mod:`pty` module defines the following functions:
4949

5050
The functions *master_read* and *stdin_read* are passed a file descriptor
5151
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.
5454

5555
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
5858
process, and *stdin_read* is passed file descriptor 0, to read from the
5959
parent process's standard input.
6060

0 commit comments

Comments
 (0)