parameters: (target, debug, builddir)
return_statement: return os.path.join(root, get_target(target), build_type_dir(debug))
docstring: The directory where the electrscash binaries are built.
docstring_summary: The directory where the electrscash binaries are built.
docstring_tokens: The directory where the electrscash binaries are built .
function: def binary_dir(target, debug, builddir):
      """
      The directory where the electrscash binaries are built.
      """
      root = builddir if builddir is not None else os.path.join(ELECTRS_DIR, "target")
      return os.path.join(root, get_target(target), build_type_dir(debug))
function_tokens: def binary_dir ( target , debug , builddir ) : root = builddir if builddir is not None else os . path . join ( ELECTRS_DIR , "target" ) return os . path . join ( root , get_target ( target ) , build_type_dir ( debug ) )