code: def _clean_req(req):
      """Given a Requirement, remove environment markers and return it"""
      r = Requirement(str(req))  # create a copy before modifying
      r.marker = None
      return r
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/command/_requirestxt.py
imports: import io
  from collections import defaultdict
  from itertools import filterfalse
  from typing import Dict, List, Tuple, Mapping, TypeVar
  from ..None import _reqs
  from ..extern.jaraco.text import yield_lines
  from ..extern.packaging.requirements import Requirement
label_desc: Use image node_id 5 for calling a global function with example usage: _clean_req(req) and returns: r