Home
last modified time | relevance | path

Searched refs:wrapcol (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/
Dbase64.py303 def a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False): argument
331 if wrapcol:
332 wrapcol = max(2 if adobe else 1, wrapcol)
333 chunks = [result[i: i + wrapcol]
334 for i in range(0, len(result), wrapcol)]
336 if len(chunks[-1]) + 2 > wrapcol:
/external/python/cpython3/Lib/test/
Dtest_base64.py435 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=False),
437 eq(base64.a85encode(b"\0\0\0\0www.python.org", wrapcol=7, adobe=False),
439 eq(base64.a85encode(b"www.python.org", wrapcol=7, adobe=True),
/external/python/cpython3/Doc/library/
Dbase64.rst159 .. function:: a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False)
168 *wrapcol* controls whether the output should have newline (``b'\n'``)