File: //proc/2/cwd/usr/lib64/python2.7/encodings/undefined.pyc
�
{fc           @   s�   d  Z  d d l Z d e j f d �  �  YZ d e j f d �  �  YZ d e j f d �  �  YZ d	 e e j f d
 �  �  YZ d e e j f d �  �  YZ d
 �  Z d S(   s5   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.
i����Nt   Codecc           B   s    e  Z d  d � Z d  d � Z RS(   t   strictc         C   s   t  d � � d  S(   Ns   undefined encoding(   t   UnicodeError(   t   selft   inputt   errors(    (    s+   /usr/lib64/python2.7/encodings/undefined.pyt   encode   s    c         C   s   t  d � � d  S(   Ns   undefined encoding(   R   (   R   R   R   (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyt   decode   s    (   t   __name__t
   __module__R   R   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR       s   t   IncrementalEncoderc           B   s   e  Z e d  � Z RS(   c         C   s   t  d � � d  S(   Ns   undefined encoding(   R   (   R   R   t   final(    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR      s    (   R   R	   t   FalseR   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR
      s   t   IncrementalDecoderc           B   s   e  Z e d  � Z RS(   c         C   s   t  d � � d  S(   Ns   undefined encoding(   R   (   R   R   R   (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR      s    (   R   R	   R   R   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR
      s   t   StreamWriterc           B   s   e  Z RS(    (   R   R	   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR       s   t   StreamReaderc           B   s   e  Z RS(    (   R   R	   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyR   #   s   c           C   s@   t  j d d d t �  j d t �  j d t d t d t d t � S(	   Nt   namet	   undefinedR   R   t   incrementalencodert   incrementaldecodert   streamwritert   streamreader(	   t   codecst	   CodecInfoR    R   R   R
   R
   R   R   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyt   getregentry(   s    	(   t   __doc__R   R    R
   R
   R   R   R   (    (    (    s+   /usr/lib64/python2.7/encodings/undefined.pyt   <module>   s