MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _remaining_time

Method _remaining_time

tools/python-3.11.9-amd64/Lib/subprocess.py:1239–1244  ·  view source on GitHub ↗

Convenience for _communicate when computing timeouts.

(self, endtime)

Source from the content-addressed store, hash-verified

1237
1238
1239 def _remaining_time(self, endtime):
1240 """Convenience for _communicate when computing timeouts."""
1241 if endtime is None:
1242 return None
1243 else:
1244 return endtime - _time()
1245
1246
1247 def _check_timeout(self, endtime, orig_timeout, stdout_seq, stderr_seq,

Callers 4

communicateMethod · 0.95
waitMethod · 0.95
_communicateMethod · 0.95
_waitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected