Lines Matching refs:errors
14 def zlib_encode(input,errors='strict'):
19 errors defines the error handling to apply. It defaults to
24 assert errors == 'strict'
28 def zlib_decode(input,errors='strict'):
37 errors defines the error handling to apply. It defaults to
42 assert errors == 'strict'
48 def encode(self, input, errors='strict'):
49 return zlib_encode(input, errors)
50 def decode(self, input, errors='strict'):
51 return zlib_decode(input, errors)
54 def __init__(self, errors='strict'):
55 assert errors == 'strict'
56 self.errors = errors
70 def __init__(self, errors='strict'):
71 assert errors == 'strict'
72 self.errors = errors