MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/cwd/usr/lib/python2.4/email/Iterators.pyc
mò
‚=5Dc@sVdZdkZdklZd„Zed„Zddd„Zdded„Z	dS(	s1Various types of useful iterators and generators.N(sStringIOccsK|V|iƒo6x3|iƒD]!}x|iƒD]
}|Vq1WqWndS(s‰Walk over the message tree, yielding each subpart.

    The walk is performed in depth-first order.  This method is a
    generator.
    N(tselftis_multiparttget_payloadtsubparttwalkt
subsubpart(RRR((t%/usr/lib/python2.4/email/Iterators.pyR
s


ccs\xU|iƒD]G}|id|ƒ}t|tƒoxt|ƒD]
}|VqBWq
q
WdS(sŽIterate over the parts, returning string payloads line-by-line.

    Optional decode (default False) is passed through to .get_payload().
    tdecodeN(
tmsgRRRRtpayloadt
isinstancet
basestringtStringIOtline(RRRR
R	((Rtbody_line_iterators

ttextccsZxS|iƒD]E}|iƒ|jo,|djp|iƒ|jo|VqRq
q
WdS(søIterate over the subparts with a given MIME type.

    Use `maintype' as the main MIME type to match against; this defaults to
    "text".  Optional `subtype' is the MIME subtype to match against; if
    omitted, only the main type is matched.
    N(RRRtget_content_maintypetmaintypetsubtypetNonetget_content_subtype(RRRR((Rttyped_subpart_iterator)s
 ic	Cs¢|djo
ti}nd|d}|||iƒI|o|d|i	ƒIJn|J|i
ƒo2x/|iƒD]}t
|||d|ƒqyWndS(sA handy debugging aidt is[%s]iN(tfpRtsyststdouttlevelttabRtget_content_typetinclude_defaulttget_default_typeRRRt
_structure(RRRRRR((RR7s



(
t__doc__Rt	cStringIORRtFalseRRRR(RRRRRR((Rt?s