parameters: (self, token)
docstring: Reports an error about too many closing items, but only once.
docstring_summary: Reports an error about too many closing items, but only once.
docstring_tokens: Reports an error about too many closing items but only once .
function: def ClosingError(self, token):
      """Reports an error about too many closing items, but only once."""
      if not self._closing_error:
        self._closing_error = True
        self.Error(token, 'Too many closing items.')
function_tokens: def ClosingError ( self , token ) : if not self . _closing_error : self . _closing_error = True self . Error ( token , 'Too many closing items.' )