def onlylib(*libs):
 def set_libs(function):
  if libs:
   function.LIBS = libs
  return function
 return set_libs

def onlylib ( * libs ) : def set_libs ( function ) : if libs : function . LIBS = libs return function return set_libs
decorator to restrict benchmarks to specific libraries .