class_docstr: The given callable is not structured in the expected way.
class_docstr_tok: ["The","given","callable","is","not","structured","in","the","expected","way","."]
code: def format_callable(self):
      if self.callable_.__name__ == self._lambda_name:
          fmt = "%s %s"
          name = "lambda"
      else:
          fmt = "%s(%s)"
          name = self.callable_.__name__
  
      return fmt % (
          name,
          ", ".join(
              chain(
                  (str(arg) for arg in self.args),
                  (
                      "*" + sa
                      for sa in (self.starargs,)
                      if sa is not None
                  ),
                  (
                      "**" + ka
                      for ka in (self.kwargsname,)
                      if ka is not None
                  ),
              )
          ),
      )
  
imports: from collections import namedtuple
  from itertools import chain
  from six.moves import map, zip_longest
  from zipline.errors import ZiplineError
  from zipline.utils.compat import getargspec
label_desc: Use image node_id 2 for calling the BadCallable obj's underlying member method code with example usage: obj.format_callable() and returns: unknown