8000 docs/ubinascii: Document non-standard "sep" argument to hexlify(). · godlygeek/circuitpython@5e7fa7c · GitHub
[go: up one dir, main page]

Skip to content

Commit 5e7fa7c

Browse files
committed
docs/ubinascii: Document non-standard "sep" argument to hexlify().
1 parent 8a8e775 commit 5e7fa7c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/library/ubinascii.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ encodings of it in ASCII form (in both directions).
1010
Functions
1111
---------
1212

13-
.. function:: hexlify(data)
13+
.. function:: hexlify(data, [sep])
1414

1515
Convert binary data to hexadecimal representation. Return bytes string.
1616

17+
.. admonition:: Difference to CPython
18+
:class: attention
19+
20+
If additional argument, `sep` is supplied, it is used as a seperator
21+
between hexadecimal values.
22+
1723
.. function:: unhexlify(data)
1824

1925
Convert hexadecimal data to binary representation. Return bytes string.

0 commit comments

Comments
 (0)
0