parameters: (f)
return_statement: return x
docstring: Read a bispec file which specifies which inputs to run with particular
      binaries.
docstring_summary: Read a bispec file which specifies which inputs to run with particular
      binaries.
docstring_tokens: Read a bispec file which specifies which inputs to run with particular binaries .
function: def read_bin_input_spec(f):
      """Read a bispec file which specifies which inputs to run with particular
      binaries.
      """
      with open(f, "rb") as ff:
          l = ff.readline().strip()
          if l == "#v1":
              x = BinInputSpecV1()
          else:
              print >>sys.stderr, "Unknown file version for input/binary spec", l
      
          x.read(ff)
  
      return x
function_tokens: def read_bin_input_spec ( f ) : with open ( f , "rb" ) as ff : l = ff . readline ( ) . strip ( ) if l == "#v1" : x = BinInputSpecV1 ( ) else : print >> sys . stderr , "Unknown file version for input/binary spec" , l x . read ( ff ) return x