8000 gh-85984: Remove legacy Lib/pty.py code. by 8vasu · Pull Request #92365 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-85984: Remove legacy Lib/pty.py code. #92365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
8000 Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix whitespace
  • Loading branch information
gpshead committed Feb 6, 2023
commit b0bead8ef6a3ec145281b83dc1e6750f871073a6
2 changes: 1 addition & 1 deletion Lib/pty.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def master_open():
"""master_open() -> (master_fd, slave_name)
Open a pty master and return the fd, and the filename of the slave end.
Deprecated, use openpty() instead."""

import warnings
warnings.warn("Use pty.openpty() instead.", DeprecationWarning, stacklevel=2) # Remove API in 3.14

Expand Down
0