관리-도구
편집 파일: message.pyc
� {fc @ s� d Z d g Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l Z d d l m Z d d l m Z d Z e j d � Z d � Z d e d � Z d � Z d � Z d d d � � YZ d S( s8 Basic message object for the email package object model.t Messagei����N( t StringIO( t utils( t errorss ; s [ \(\)<>@,;:\\"/\[\]\?=]c C sD | j d � \ } } } | s. | j � d f S| j � | j � f S( Nt ;( t partitiont stript None( t paramt at sept b( ( s% /usr/lib64/python2.7/email/message.pyt _splitparam s c C s� | d k r� t | � d k r� t | t � r[ | d 7} t j | d | d | d � } n | sp t j | � r� d | t j | � f Sd | | f Sn | Sd S( s� Convenience function to format and return a key=value pair. This will quote the value if needed or if quote is true. If value is a three tuple (charset, language, value), it will be encoded according to RFC2231 rules. i t *i i s %s="%s"s %s=%sN( R t lent isinstancet tupleR t encode_rfc2231t tspecialst searcht quote( R t valueR ( ( s% /usr/lib64/python2.7/email/message.pyt _formatparam&