Skip to content

Commit

Permalink
Merge branch 'main' into pseudo-jumps
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel authored Sep 24, 2024
2 parents 9564043 + 17b3bc9 commit 02d0626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/pty.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def openpty():
except ImportError:
return master_fd, slave_fd
try:
ioctl(result, I_PUSH, "ptem")
ioctl(result, I_PUSH, "ldterm")
ioctl(slave_fd, I_PUSH, "ptem")
ioctl(slave_fd, I_PUSH, "ldterm")
except OSError:
pass
return master_fd, slave_fd
Expand Down

0 comments on commit 02d0626

Please sign in to comment.