summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-14 20:48:43 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-05-14 20:48:43 +0300
commitca63c770733ead7fd5de061ddc5268ffbd3c368b (patch)
tree4d6601d58a741cf99ff8c0a6fe3d64b930ae3742
parent7b1bf0c3087aa87cde7417b95b4dd3f8e4ca3781 (diff)
downloadmicropython-ca63c770733ead7fd5de061ddc5268ffbd3c368b.tar.gz
micropython-ca63c770733ead7fd5de061ddc5268ffbd3c368b.zip
docs/ustruct: Describe supported type codes.
-rw-r--r--docs/library/ustruct.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/ustruct.rst b/docs/library/ustruct.rst
index ae5b1be003..74e42af07a 100644
--- a/docs/library/ustruct.rst
+++ b/docs/library/ustruct.rst
@@ -7,6 +7,12 @@
See `Python struct <https://docs.python.org/3/library/struct.html>`_ for more
information.
+Supported size/byte order prefixes: ``@``, ``<``, ``>``, ``!``.
+
+Supported format codes: ``b``, ``B``, ``h``, ``H``, ``i``, ``I``, ``l``,
+``L``, ``q``, ``Q``, ``s``, ``P``, ``f``, ``d`` (the latter 2 depending
+on the floating-point support).
+
Functions
---------