%PDF- %PDF-
Direktori : /lib64/python3.6/encodings/__pycache__/ |
Current File : //lib64/python3.6/encodings/__pycache__/undefined.cpython-36.pyc |
3 \ � @ sv d Z ddlZG dd� dej�ZG dd� dej�ZG dd� dej�ZG d d � d eej�ZG dd� deej�Zd d� ZdS )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 Zd Zddd�Zddd�ZdS ) �Codec�strictc C s t d��d S )Nzundefined encoding)�UnicodeError)�self�input�errors� r �+/usr/lib64/python3.6/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)r )r )�__name__� __module__�__qualname__r r r r r r r s r c @ s e Zd Zddd�ZdS )�IncrementalEncoderFc C s t d��d S )Nzundefined encoding)r )r r �finalr r r r s zIncrementalEncoder.encodeN)F)r r r r r r r r r s r c @ s e Zd Zddd�ZdS )�IncrementalDecoderFc C s t d��d S )Nzundefined encoding)r )r r r r r r r s zIncrementalDecoder.decodeN)F)r r r r r r r r r s r c @ s e Zd ZdS )�StreamWriterN)r r r r r r r r s r c @ s e Zd ZdS )�StreamReaderN)r r r r r r r r # s r c C s t jdt� jt� jttttd�S )NZ undefined)�namer 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