def do_evaluate(parser, token):
  '''Calls an arbitrary method on an object.'''
  code = token.contents
  firstspace = code.find(' ')
  if firstspace >= 0:
    code = code[firstspace+1:]
  return Evaluator(code)
def do_evaluate ( parser , token ) : code = token . contents firstspace = code . find ( ' ' ) if firstspace >= 0 : code = code [ firstspace + 1 : ] return Evaluator ( code )
Calls an arbitrary method on an object.