parameters: (self)
return_statement: return 'change'
docstring: Return type of modification :
          addition, deletion, none
docstring_summary: Return type of modification :
          addition, deletion, none
docstring_tokens: Return type of modification : addition deletion none
function: def _getModif(self):
      """ Return type of modification :
          addition, deletion, none
      """
      nb_plus = 0
      nb_minus = 0
      for line in self.body.splitlines():
        if line.startswith("-"):
          nb_minus -= 1
        elif line.startswith("+"):
          nb_plus += 1
      if (nb_plus == 0 and nb_minus == 0):
        return 'none'
      if (nb_minus == 0):
        return 'addition'
      if (nb_plus == 0):
        return 'deletion'
      return 'change'
function_tokens: def _getModif ( self ) : nb_plus = 0 nb_minus = 0 for line in self . body . splitlines ( ) : if line . startswith ( "-" ) : nb_minus -= 1 elif line . startswith ( "+" ) : nb_plus += 1 if ( nb_plus == 0 and nb_minus == 0 ) : return 'none' if ( nb_minus == 0 ) : return 'addition' if ( nb_plus == 0 ) : return 'deletion' return 'change'