code: def strip_comments(s):
      return re.sub(r"\s+#.*", "", s)
  
imports: import re
  import pytest
  from pybind11_tests import ConstructorStats
  from pybind11_tests import factory_constructors
  from pybind11_tests.factory_constructors import tag
label_desc: Use image node_id 9 for calling a global function with example usage: strip_comments(s) and returns: re