Skip to content

Commit d8fd310

Browse files
committed
docs: Add quick docs for ubinascii.
1 parent d96a916 commit d8fd310

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

docs/library/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ it will fallback to loading the built-in ``ujson`` module.
3838
.. toctree::
3939
:maxdepth: 1
4040

41+
ubinascii.rst
4142
uhashlib.rst
4243
uheapq.rst
4344
ujson.rst

docs/library/ubinascii.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
:mod:`ubinascii` -- binary/ASCII conversions
2+
============================================
3+
4+
.. module:: ubinascii
5+
:synopsis: binary/ASCII conversions
6+
7+
This module implements conversions between binary data and various
8+
encodings of it in ASCII form (in both directions).
9+
10+
Functions
11+
---------
12+
13+
.. function:: hexlify(data)
14+
15+
Convert binary data to hexadecimal representation. Return bytes string.

0 commit comments

Comments
 (0)