@@ -115,7 +115,7 @@ def play(
115115 Parameters
116116 ----------
117117 build_results : bool
118- whether or not to build a results st
118+ whether or not to build a results set
119119 filename : string
120120 name of output file
121121 processes : integer
@@ -295,7 +295,8 @@ def _run_parallel(self, processes: int = 2, build_results: bool = True) -> bool:
295295
296296 Parameters
297297 ----------
298-
298+ build_results : bool
299+ whether or not to build a results set
299300 processes : int
300301 How many processes to use.
301302 """
@@ -346,6 +347,8 @@ def _start_workers(
346347 A queue containing an entry for each round robin to be processed
347348 done_queue : multiprocessing.Queue
348349 A queue containing the output dictionaries from each round robin
350+ build_results : bool
351+ whether or not to build a results set
349352 """
350353 for worker in range (workers ):
351354 process = Process (
@@ -367,6 +370,8 @@ def _process_done_queue(
367370 The number of sub-processes in existence
368371 done_queue : multiprocessing.Queue
369372 A queue containing the output dictionaries from each round robin
373+ build_results : bool
374+ whether or not to build a results set
370375 """
371376 out_file , writer = self ._get_file_objects (build_results )
372377 progress_bar = self ._get_progress_bar ()
@@ -395,6 +400,8 @@ def _worker(self, work_queue: Queue, done_queue: Queue, build_results: bool = Tr
395400 A queue containing an entry for each round robin to be processed
396401 done_queue : multiprocessing.Queue
397402 A queue containing the output dictionaries from each round robin
403+ build_results : bool
404+ whether or not to build a results set
398405 """
399406 for chunk in iter (work_queue .get , "STOP" ):
400407 interactions = self ._play_matches (chunk , build_results )
@@ -410,6 +417,8 @@ def _play_matches(self, chunk, build_results=True):
410417 ----------
411418 chunk : tuple (index pair, match_parameters, repetitions)
412419 match_parameters are also a tuple: (turns, game, noise)
420+ build_results : bool
421+ whether or not to build a results set
413422
414423 Returns
415424 -------
0 commit comments