Home | History | Annotate | Download | only in encodings

Lines Matching refs:errors

15 def bz2_encode(input,errors='strict'):
20 errors defines the error handling to apply. It defaults to
25 assert errors == 'strict'
29 def bz2_decode(input,errors='strict'):
38 errors defines the error handling to apply. It defaults to
43 assert errors == 'strict'
49 def encode(self, input, errors='strict'):
50 return bz2_encode(input, errors)
51 def decode(self, input, errors='strict'):
52 return bz2_decode(input, errors)
55 def __init__(self, errors='strict'):
56 assert errors == 'strict'
57 self.errors = errors
71 def __init__(self, errors='strict'):
72 assert errors == 'strict'
73 self.errors = errors