of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added.
codecs -- the self argument does matter for Python functions (it does not for C functions which most other codecs use).