class_docstr: Sinc for backtest results. This class is thread safe.
class_docstr_tok: ["Sinc","for","backtest","results",".","This","class","is","thread","safe","."]
code: def getBest(self):
      with self.__lock:
          ret = self.__bestResult, self.__bestParameters
      return ret
  
file_path: pyalgotrade/pyalgotrade/optimizer/base.py
imports: import threading
  import six
label_desc: Use image node_id 3 for calling the ResultSinc obj's underlying member method code with example usage: obj.getBest() and returns: ret