parameters: (self, line)
return_statement: return line
docstring: Decode element to unicode if necessary.
docstring_summary: Decode element to unicode if necessary.
docstring_tokens: Decode element to unicode if necessary .
function: def _decode_element(self, line):
          """Decode element to unicode if necessary."""
          if not self.encoding:
              return line
          if isinstance(line, str) and self.default_encoding:
              return line.decode(self.default_encoding)
          return line
function_tokens: def _decode_element ( self , line ) : if not self . encoding : return line if isinstance ( line , str ) and self . default_encoding : return line . decode ( self . default_encoding ) return line