code: def VarData_CalculateNumShorts(self, optimize=True):
      """Deprecated name for VarData_calculateNumShorts() which
      defaults to optimize=True.  Use varData.calculateNumShorts()
      or varData.optimize()."""
      return VarData_calculateNumShorts(self, optimize=optimize)
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/builder.py
imports: from fontTools import ttLib
  from fontTools.ttLib.tables import otTables
label_desc: Use image node_id 6 for calling a global function with example usage: VarData_CalculateNumShorts(optimize) and returns: VarData_calculateNumShorts