ó
è¾bc           @   s«   d  Z  d d l m Z m Z d d l Z e Z d d „ Z d e j f d „  ƒ  YZ d e j f d	 „  ƒ  YZ d
 e j	 f d „  ƒ  YZ	 d e j
 f d „  ƒ  YZ
 d „  Z d S(   sØ    Python 'mbcs' Codec for Windows


Cloned by Mark Hammond (mhammond@skippinet.com.au) from ascii.py,
which was written by Marc-Andre Lemburg (mal@lemburg.com).

(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.

iÿÿÿÿ(   t   mbcs_encodet   mbcs_decodeNt   strictc         C   s   t  |  | t ƒ S(   N(   R   t   True(   t   inputt   errors(    (    s$   /usr/lib/python2.7/encodings/mbcs.pyt   decode   s    t   IncrementalEncoderc           B   s   e  Z e d  „ Z RS(   c         C   s   t  | |  j ƒ d S(   Ni    (   R    R   (   t   selfR   t   final(    (    s$   /usr/lib/python2.7/encodings/mbcs.pyt   encode   s    (   t   __name__t
   __module__t   FalseR
   (    (    (    s$   /usr/lib/python2.7/encodings/mbcs.pyR      s   t   IncrementalDecoderc           B   s   e  Z e Z RS(    (   R   R   R   t   _buffer_decode(    (    (    s$   /usr/lib/python2.7/encodings/mbcs.pyR      s   t   StreamWriterc           B   s   e  Z e Z RS(    (   R   R   R    R
   (    (    (    s$   /usr/lib/python2.7/encodings/mbcs.pyR      s   t   StreamReaderc           B   s   e  Z e Z RS(    (   R   R   R   R   (    (    (    s$   /usr/lib/python2.7/encodings/mbcs.pyR   !   s   c           C   s4   t  j d d d t d t d t d t d t d t ƒ S(	   Nt   namet   mbcsR
   R   t   incrementalencodert   incrementaldecodert   streamreadert   streamwriter(   t   codecst	   CodecInfoR
   R   R   R   R   R   (    (    (    s$   /usr/lib/python2.7/encodings/mbcs.pyt   getregentry&   s    	(   t   __doc__R   R    R   R
   R   R   t   BufferedIncrementalDecoderR   R   R   R   (    (    (    s$   /usr/lib/python2.7/encodings/mbcs.pyt   <module>	   s   