We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bdb131 + 17b3bc9 commit 2c39866Copy full SHA for 2c39866
Lib/pty.py
@@ -39,8 +39,8 @@ def openpty():
39
except ImportError:
40
return master_fd, slave_fd
41
try:
42
- ioctl(result, I_PUSH, "ptem")
43
- ioctl(result, I_PUSH, "ldterm")
+ ioctl(slave_fd, I_PUSH, "ptem")
+ ioctl(slave_fd, I_PUSH, "ldterm")
44
except OSError:
45
pass
46
0 commit comments