gh-118824: Remove deprecated master_open and slave_open from pty
#118826
+20
−38
master_open and slave_open from pty
#118826