parameters: (self, result)
docstring: Fix non-membership check.
docstring_summary: Fix non-membership check.
docstring_tokens: Fix non - membership check .
function: def fix_e713(self, result):
          """Fix non-membership check."""
          line_index = result['line'] - 1
          target = self.source[line_index]
  
          # Handle very easy case only.
          if re.match(r'^\s*if not \w+ in \w+:$', target):
              self.source[line_index] = re.sub(r'if not (\w+) in (\w+):',
                                               r'if \1 not in \2:',
                                               target,
                                               count=1)
function_tokens: def fix_e713 ( self , result ) : line_index = result [ 'line' ] - 1 target = self . source [ line_index ] # Handle very easy case only. if re . match ( r'^\s*if not \w+ in \w+:$' , target ) : self . source [ line_index ] = re . sub ( r'if not (\w+) in (\w+):' , r'if \1 not in \2:' , target , count = 1 )