Method
__init__
(self, decoder, translate, errors='strict')
Source from the content-addressed store, hash-verified
| 1943 | one piece. |
| 1944 | """ |
| 1945 | def __init__(self, decoder, translate, errors='strict'): |
| 1946 | codecs.IncrementalDecoder.__init__(self, errors=errors) |
| 1947 | self.translate = translate |
| 1948 | self.decoder = decoder |
| 1949 | self.seennl = 0 |
| 1950 | self.pendingcr = False |
| 1951 | |
| 1952 | def decode(self, input, final=False): |
| 1953 | # decode input (with the eventual \r from a previous pass) |
Callers
nothing calls this directly
Tested by
no test coverage detected