AlkantarClanX12
Current Path : /opt/alt/python35/lib64/python3.5/encodings/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/encodings/__pycache__/undefined.cpython-35.opt-1.pyc |
��Yf � @ s� d Z d d l Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e j � Z Gd d � d e e j � Z Gd d � d e e j � Z d d � Z d S)a5 Python 'undefined' Codec This codec will always raise a ValueError exception when being used. It is intended for use by the site.py file to switch off automatic string to Unicode coercion. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. � Nc @ s. e Z d Z d d d � Z d d d � Z d S)�Codec�strictc C s t d � � d S)Nzundefined encoding)�UnicodeError)�self�input�errors� r �8/opt/alt/python35/lib64/python3.5/encodings/undefined.py�encode s zCodec.encodec C s t d � � d S)Nzundefined encoding)r )r r r r r r �decode s zCodec.decodeN)�__name__� __module__�__qualname__r r r r r r r s r c @ s e Z d Z d d d � Z d S)�IncrementalEncoderFc C s t d � � d S)Nzundefined encoding)r )r r �finalr r r r s zIncrementalEncoder.encodeN)r r r r r r r r r s r c @ s e Z d Z d d d � Z d S)�IncrementalDecoderFc C s t d � � d S)Nzundefined encoding)r )r r r r r r r s zIncrementalDecoder.decodeN)r r r r r r r r r s r c @ s e Z d Z d S)�StreamWriterN)r r r r r r r r s r c @ s e Z d Z d S)�StreamReaderN)r r r r r r r r # s r c C s@ t j d d d t � j d t � j d t d t d t d t � S) N�nameZ undefinedr r �incrementalencoder�incrementaldecoder�streamwriter�streamreader) �codecs� CodecInfor r r r r r r r r r r �getregentry( s r )�__doc__r r r r r r r r r r r �<module> s