parameters: (self, value, case)
docstring: Convert case.
docstring_summary: Convert case.
docstring_tokens: Convert case .
function: def convert_case(self, value, case):
          """Convert case."""
  
          if self.binary:
              cased = []
              for c in value:
                  if c in _ASCII_LETTERS:
                      cased.append(c.lower() if case == _LOWER else c.upper())
                  else:
                      cased.append(c)
              return "".join(cased)
          else:
              return value.lower() if case == _LOWER else value.upper()
function_tokens: def convert_case ( self , value , case ) : if self . binary : cased = [ ] for c in value : if c in _ASCII_LETTERS : cased . append ( c . lower ( ) if case == _LOWER else c . upper ( ) ) else : cased . append ( c ) return "" . join ( cased ) else : return value . lower ( ) if case == _LOWER else value . upper ( )