class_docstr: This is like :mod:`pexpect.fdpexpect` but uses the cross-platform python socket api,
  rather than the unix-specific file descriptor api. Thus, it works with
  remote connections on both unix and windows.
class_docstr_tok: ["This","is","like",":","mod",":","`","pexpect.fdpexpect","`","but","uses","the","cross-platform","python","socket","api",",","rather","than","the","unix-specific","file","descriptor","api",".","Thus",",","it","works","with","remote","connections","on","both","unix","and","windows","."]
docstr: Write to socket, return None
docstr_tok: ["Write","to","socket",",","return","None"]
code: def write(self, s):
      """Write to socket, return None"""
      self.send(s)
  
file_path: catboost/contrib/python/pexpect/py3/pexpect/socket_pexpect.py
imports: import socket
  from contextlib import contextmanager
  from .exceptions import TIMEOUT, EOF
  from .spawnbase import SpawnBase
label_desc: Use image node_id 6 for calling the SocketSpawn obj's underlying member method code with example usage: obj.write(s) without return types