# Bug report `result` jere is not defined https://github.com/python/cpython/blob/ad7c7785461fffba04f5a36cd6d062e92b0fda16/Lib/pty.py#L36-L43 It should be `slave_fd`. Caused by #118826 Thanks to @ambv for finding this. I have a fix ready. <!-- gh-linked-prs --> ### Linked PRs * gh-124406 <!-- /gh-linked-prs -->