MCPcopy Index your code
hub / github.com/python/cpython / res2int

Method res2int

Lib/test/test_cmd_line.py:1214–1216  ·  view source on GitHub ↗
(self, res)

Source from the content-addressed store, hash-verified

1212 assert_python_failure('-X', 'importtime=3', '-c', code)
1213
1214 def res2int(self, res):
1215 out = res.out.strip().decode("utf-8")
1216 return tuple(int(i) for i in out.split())
1217
1218 @unittest.skipUnless(support.Py_GIL_DISABLED,
1219 "PYTHON_TLBC and -X tlbc"

Callers 2

test_cpu_countMethod · 0.95

Calls 3

decodeMethod · 0.45
stripMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected