parameters: (e, g=None, l=None)
docstring: Like `eval` but returns only integers and floats
docstring_summary: Like `eval` but returns only integers and floats
docstring_tokens: Like eval but returns only integers and floats
function: def myeval(e, g=None, l=None):
      """ Like `eval` but returns only integers and floats """
      r = eval(e, g, l)
      if type(r) in [int, float]:
          return r
      raise ValueError('r=%r' % (r))
function_tokens: def myeval ( e , g = None , l = None ) : r = eval ( e , g , l ) if type ( r ) in [ int , float ] : return r raise ValueError ( 'r=%r' % ( r ) )