U .e @sdZddlmZddlZGdddejZGdddejZGdd d ejZGd d d eejZGd d d eejZej dej ej eeeedZ dZ ee ZdS)z webencodings.x_user_defined ~~~~~~~~~~~~~~~~~~~~~~~~~~~ An implementation of the x-user-defined encoding. :copyright: Copyright 2012 by Simon Sapin :license: BSD, see LICENSE for details. )unicode_literalsNc@s eZdZdddZdddZdS) CodecstrictcCst||tSN)codecscharmap_encodeencoding_tableselfinputerrorsr K/usr/lib/python3.8/site-packages/pip/_vendor/webencodings/x_user_defined.pyencodesz Codec.encodecCst||tSr)rcharmap_decodedecoding_tabler r r rdecodesz Codec.decodeN)r)r)__name__ __module__ __qualname__rrr r r rrs rc@seZdZdddZdS)IncrementalEncoderFcCst||jtdSNr)rrr rr r finalr r rrszIncrementalEncoder.encodeN)F)rrrrr r r rrsrc@seZdZdddZdS)IncrementalDecoderFcCst||jtdSr)rrr rrr r rr$szIncrementalDecoder.decodeN)F)rrrrr r r rr#src@s eZdZdS) StreamWriterNrrrr r r rr(src@s eZdZdS) StreamReaderNrr r r rr,srzx-user-defined)namerrincrementalencoderincrementaldecoder streamreader streamwriteru  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~)__doc__Z __future__rrrrrrr CodecInforrZ codec_infor charmap_buildrr r r rs*