Method
__init__
(self, decoder, translate, errors='strict')
Source from the content-addressed store, hash-verified
| 1967 | one piece. |
| 1968 | """ |
| 1969 | def __init__(self, decoder, translate, errors='strict'): |
| 1970 | codecs.IncrementalDecoder.__init__(self, errors=errors) |
| 1971 | self.translate = translate |
| 1972 | self.decoder = decoder |
| 1973 | self.seennl = 0 |
| 1974 | self.pendingcr = False |
| 1975 | |
| 1976 | def decode(self, input, final=False): |
| 1977 | # decode input (with the eventual \r from a previous pass) |
Callers
nothing calls this directly
Tested by
no test coverage detected