Lines Matching refs:quotetabs
21 def needsquoting(c, quotetabs, header):
24 The 'quotetabs' flag indicates whether embedded tabs and spaces should be
30 return quotetabs
44 def encode(input, output, quotetabs, header=False):
47 'input' and 'output' are binary file objects. The 'quotetabs' flag
55 odata = b2a_qp(data, quotetabs=quotetabs, header=header)
83 if needsquoting(c, quotetabs, header):
106 def encodestring(s, quotetabs=False, header=False):
108 return b2a_qp(s, quotetabs=quotetabs, header=header)
112 encode(infp, outfp, quotetabs, header)