parameters: (self)
return_statement: return self
docstring: Internal method to strip elements with a negative or zero count
docstring_summary: Internal method to strip elements with a negative or zero count
docstring_tokens: Internal method to strip elements with a negative or zero count
function: def _keep_positive(self):
          '''Internal method to strip elements with a negative or zero count'''
          nonpositive = [elem for elem, count in self.items() if not count > 0]
          for elem in nonpositive:
              del self[elem]
          return self
function_tokens: def _keep_positive ( self ) : nonpositive = [ elem for elem , count in self . items ( ) if not count > 0 ] for elem in nonpositive : del self [ elem ] return self