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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy