parameters: (self, dat)
docstring: Decode to system default encoding for internal use.
docstring_summary: Decode to system default encoding for internal use.
docstring_tokens: Decode to system default encoding for internal use .
function: def decode(self, dat):
          """Decode to system default encoding for internal use."""
          try:
              return dat.decode(self.encoding)
          except AttributeError:
              # not a string type, pass along
              return dat
          except UnicodeEncodeError:
              # just return unmodified and hope for the best
              return dat
function_tokens: def decode ( self , dat ) : try : return dat . decode ( self . encoding ) except AttributeError : # not a string type, pass along return dat except UnicodeEncodeError : # just return unmodified and hope for the best return dat