class_docstr: This command checks the meta-data of the package.
docstr: Checks if the long string fields are reST-compliant.
code: def check_restructuredtext(self):
      """Checks if the long string fields are reST-compliant."""
      data = self.distribution.get_long_description()
      for warning in self._check_rst_data(data):
          line = warning[-1].get("line")
          if line is None:
              warning = warning[1]
          else:
              warning = "{} (line {})".format(warning[1], line)
          self.warn(warning)
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/_distutils/command/check.py
imports: import contextlib
  from ..core import Command
  from ..errors import DistutilsSetupError
label_desc: Use image node_id 6 for calling the check obj's underlying member method code with example usage: obj.check_restructuredtext() without return types