code: def get_type(name, env, non_generic):
      
      if name in env:
          if isinstance(env[name], MultiType):
              return clone(env[name])
          return fresh(env[name], non_generic)
      else:
          print("W: Undefined symbol {0}".format(name))
          return TypeVariable()
docs: Get the type of identifier name from the type environment env.
  
      Args:
          name: The identifier name
          env: The type environment mapping from identifier names to types
          non_generic: A set of non-generic TypeVariables
  
      Raises:
          ParseError: Raised if name is an undefined symbol in the type
              environment.