From ca63c770733ead7fd5de061ddc5268ffbd3c368b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sat, 14 May 2016 20:48:43 +0300 Subject: [PATCH] docs/ustruct: Describe supported type codes. --- docs/library/ustruct.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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 `_ 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 ---------