MCPcopy Create free account
hub / github.com/pexpect/pexpect / write

Method write

pexpect/popen_spawn.py:117–120  ·  view source on GitHub ↗

This is similar to send() except that there is no return value.

(self, s)

Source from the content-addressed store, hash-verified

115 self._read_queue.put(buf)
116
117 def write(self, s):
118 '''This is similar to send() except that there is no return value.
119 '''
120 self.send(s)
121
122 def writelines(self, sequence):
123 '''This calls write() for each element in the sequence.

Callers 1

sendMethod · 0.45

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected