def zlib_decode(input, errors='strict'):
 assert (errors == 'strict')
 output = zlib.decompress(input)
 return (output, len(input))

def zlib_decode ( input , errors = 'strict' ) : assert ( errors == 'strict' ) output = zlib . decompress ( input ) return ( output , len ( input ) )
decodes the object input and returns a tuple .