From d8fd3103fa69f9f0c5374d6edc50b6dc1e2f6738 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 2 Dec 2014 01:51:12 +0200 Subject: [PATCH] docs: Add quick docs for ubinascii. --- docs/library/index.rst | 1 + docs/library/ubinascii.rst | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 docs/library/ubinascii.rst diff --git a/docs/library/index.rst b/docs/library/index.rst index aba69d28b4..bc01aa4c07 100644 --- a/docs/library/index.rst +++ b/docs/library/index.rst @@ -38,6 +38,7 @@ it will fallback to loading the built-in ``ujson`` module. .. toctree:: :maxdepth: 1 + ubinascii.rst uhashlib.rst uheapq.rst ujson.rst diff --git a/docs/library/ubinascii.rst b/docs/library/ubinascii.rst new file mode 100644 index 0000000000..9dba9180d2 --- /dev/null +++ b/docs/library/ubinascii.rst @@ -0,0 +1,15 @@ +:mod:`ubinascii` -- binary/ASCII conversions +============================================ + +.. module:: ubinascii + :synopsis: binary/ASCII conversions + +This module implements conversions between binary data and various +encodings of it in ASCII form (in both directions). + +Functions +--------- + +.. function:: hexlify(data) + + Convert binary data to hexadecimal representation. Return bytes string.