parameters: (self)
docstring: Checks if the long string fields are reST-compliant.
docstring_summary: Checks if the long string fields are reST-compliant.
docstring_tokens: Checks if the long string fields are reST - compliant .
function: def check_restructuredtext(self):
          """Checks if the long string fields are reST-compliant."""
          data = self.distribution.get_long_description()
          if not isinstance(data, unicode):
              data = data.decode(PKG_INFO_ENCODING)
          for warning in self._check_rst_data(data):
              line = warning[-1].get('line')
              if line is None:
                  warning = warning[1]
              else:
                  warning = '%s (line %s)' % (warning[1], line)
              self.warn(warning)
function_tokens: def check_restructuredtext ( self ) : data = self . distribution . get_long_description ( ) if not isinstance ( data , unicode ) : data = data . decode ( PKG_INFO_ENCODING ) for warning in self . _check_rst_data ( data ) : line = warning [ - 1 ] . get ( 'line' ) if line is None : warning = warning [ 1 ] else : warning = '%s (line %s)' % ( warning [ 1 ] , line ) self . warn ( warning )