Searched refs:wrapcol (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Lib/ |
D | base64.py | 327 def a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False): argument 355 if wrapcol: 356 wrapcol = max(2 if adobe else 1, wrapcol) 357 chunks = [result[i: i + wrapcol] 358 for i in range(0, len(result), wrapcol)] 360 if len(chunks[-1]) + 2 > wrapcol:
|
/third_party/python/Doc/library/ |
D | base64.rst | 180 .. function:: a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False) 189 *wrapcol* controls whether the output should have newline (``b'\n'``)
|
/third_party/python/Lib/test/ |
D | test_base64.py | 498 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=False), 500 eq(base64.a85encode(b"\0\0\0\0www.python.org", wrapcol=7, adobe=False), 502 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=True),
|