code: def sanitizesql(self, sql):
      sql = sql.strip("; \t\r\n")
      while sql.startswith("--"):
          sql = sql.split("\n", 1)[1]
          sql = sql.lstrip("; \t\r\n")
      return sql
  
imports: import time
  import sys
  import weakref
label_desc: Use image node_id 10 for calling the APSWTracer obj's underlying member method code with example usage: obj.sanitizesql(sql) and returns: sql