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 9a4c9ba + 17b3bc9 commit 8b43395Copy full SHA for 8b43395
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