AlkantarClanX12
Current Path : /opt/alt/python35/lib64/python3.5/email/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/email/__pycache__/_policybase.cpython-35.opt-2.pyc |
���]1: � @ s� d d l Z d d l m Z d d l m Z d d l m Z d d d g Z Gd d � d � Z d d � Z d d � Z Gd d � d e d e j �Z e Gd d � d e � � Z e � Z d S)� N)�header)�charset)�_has_surrogates�Policy�Compat32�compat32c sR e Z d Z � f d d � Z d d � Z d d � Z d d � Z d d � Z � S)�_PolicyBasec sj xc | j � D]U \ } } t | | � rD t t | � j | | � q t d j | | j j � � � q Wd S)Nz*{!r} is an invalid keyword argument for {}) �items�hasattr�superr �__setattr__� TypeError�format� __class__�__name__)�self�kw�name�value)r � �0/opt/alt/python35/lib64/python3.5/_policybase.py�__init__) s z_PolicyBase.__init__c C s; d d � | j j � D� } d j | j j d j | � � S)Nc S s( g | ] \ } } d j | | � � q S)z{}={!r})r )�.0r r r r r � <listcomp>8 s z(_PolicyBase.__repr__.<locals>.<listcomp>z{}({})z, )�__dict__r r r r �join)r �argsr r r �__repr__7 s z_PolicyBase.__repr__c K s� | j j | j � } x0 | j j � D] \ } } t j | | | � q% WxZ | j � D]L \ } } t | | � s� t d j | | j j � � � t j | | | � qU W| S)Nz*{!r} is an invalid keyword argument for {}) r �__new__r r �objectr r r r r )r r Z newpolicy�attrr r r r �clone<