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

Method write_row

Lib/test/test_free_threading/test_csv.py:34–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 expected_rows = []
33
34 def write_row():
35 for i in range(row_per_thread):
36 writer.writerow([i, i, i])
37 expected_rows.append(f"{i},{i},{i}")
38
39 run_concurrently(worker_func=write_row, nthreads=NTHREADS)
40

Callers

nothing calls this directly

Calls 2

writerowMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected