parameters: (self, ty, val)
return_statement: return self.get_constant_generic(None, ty, val)
docstring: Same as get_constant_generic(), but without specifying *builder*.
          Works only for simple types.
docstring_summary: Same as get_constant_generic(), but without specifying *builder*.
          Works only for simple types.
docstring_tokens: Same as get_constant_generic () but without specifying * builder * . Works only for simple types .
function: def get_constant(self, ty, val):
          """
          Same as get_constant_generic(), but without specifying *builder*.
          Works only for simple types.
          """
          # HACK: pass builder=None to preserve get_constant() API
          return self.get_constant_generic(None, ty, val)
function_tokens: def get_constant ( self , ty , val ) : # HACK: pass builder=None to preserve get_constant() API return self . get_constant_generic ( None , ty , val )