Lines Matching refs:errors
13 def zlib_encode(input, errors='strict'):
14 assert errors == 'strict'
17 def zlib_decode(input, errors='strict'):
18 assert errors == 'strict'
22 def encode(self, input, errors='strict'):
23 return zlib_encode(input, errors)
24 def decode(self, input, errors='strict'):
25 return zlib_decode(input, errors)
28 def __init__(self, errors='strict'):
29 assert errors == 'strict'
30 self.errors = errors
44 def __init__(self, errors='strict'):
45 assert errors == 'strict'
46 self.errors = errors