Lines Matching refs:_fp
59 self._fp = outfp
65 self._fp.write(s)
82 print >> self._fp, ufrom
105 oldfp = self._fp
107 self._fp = sfp = StringIO()
110 self._fp = oldfp
118 self._fp.write(sfp.getvalue())
142 print >> self._fp, '%s:' % h,
145 print >> self._fp, v
148 print >> self._fp, v.encode()
156 print >> self._fp, v
163 print >> self._fp, Header(
166 print >> self._fp
180 self._fp.write(payload)
195 self._fp.write(subparts)
219 print >> self._fp, preamble
221 print >> self._fp, '--' + boundary
224 self._fp.write(msgtexts.pop(0))
230 print >> self._fp, '\n--' + boundary
232 self._fp.write(body_part)
234 self._fp.write('\n--' + boundary + '--' + NL)
240 self._fp.write(epilogue)
272 self._fp.write(NL.join(blocks))
290 self._fp.write(payload)