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

Method terminate

pexpect/fdpexpect.py:93–95  ·  view source on GitHub ↗

Deprecated and invalid. Just raises an exception.

(self, force=False)

Source from the content-addressed store, hash-verified

91 return False
92
93 def terminate (self, force=False): # pragma: no cover
94 '''Deprecated and invalid. Just raises an exception.'''
95 raise ExceptionPexpect('This method is not valid for file descriptors.')
96
97 # These four methods are left around for backwards compatibility, but not
98 # documented as part of fdpexpect. You're encouraged to use os.write

Callers

nothing calls this directly

Calls 1

ExceptionPexpectClass · 0.85

Tested by

no test coverage detected