def _matchingString(constantString, inputString):
 if isinstance(constantString, bytes):
  otherType = constantString.decode('ascii')
 else:
  otherType = constantString.encode('ascii')
 if (type(constantString) == type(inputString)):
  return constantString
 else:
  return otherType

def _matchingString ( constantString , inputString ) : if isinstance ( constantString , bytes ) : otherType = constantString . decode ( 'ascii' ) else : otherType = constantString . encode ( 'ascii' ) if ( type ( constantString ) == type ( inputString ) ) : return constantString else : return otherType
some functions .