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

Method write

pexpect/pty_spawn.py:512–516  ·  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

510 raise TIMEOUT('Timeout exceeded.')
511
512 def write(self, s):
513 '''This is similar to send() except that there is no return value.
514 '''
515
516 self.send(s)
517
518 def writelines(self, sequence):
519 '''This calls write() for each element in the sequence. The sequence

Callers 4

writelinesMethod · 0.95
sendMethod · 0.45
__interact_writenMethod · 0.45
__interact_copyMethod · 0.45

Calls 1

sendMethod · 0.95

Tested by

no test coverage detected