code: def esc(self, val):
          
          if type(val) in self.type_map:
              return self.type_map[type(val)](val)
          else:
              return Esc(val)
docs: Returns the given object in the appropriate wrapper class from esc_types.py.
  
          In most cases, you will not need to call this directly.  However, if you are
          passing a string to the interp method that should be used as an SQL bind value
          and not raw SQL, you must pass it to this method to avoid a SQL injection
          vulnerability.  For example:
  
          >>> sqli = SQLInterp()
          >>> first_name = 'John'
  
          The following is wrong!  This could lead to a SQL injection attack.
  
          >>> sqli.interp("SELECT * FROM table WHERE first_name =", first_name)
          ('SELECT * FROM table WHERE first_name = John', ())
  
          This is the correct way.
  
          >>> sqli.interp("SELECT * FROM table WHERE first_name =", sqli.esc(first_name))
          ('SELECT * FROM table WHERE first_name = ?', ('John',))