Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 719e4e3

Browse files
committed
Merged revisions 82379 via svnmerge from
svn+ssh://[email protected]/python/trunk ........ r82379 | mark.dickinson | 2010-06-29 21:09:12 +0100 (Tue, 29 Jun 2010) | 1 line Issue #1789: clarify that the 'size' column in struct docs refers to standard size. ........
1 parent 578aa56 commit 719e4e3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Doc/library/struct.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ Format Characters
151151
^^^^^^^^^^^^^^^^^
152152

153153
Format characters have the following meaning; the conversion between C and
154-
Python values should be obvious given their types:
154+
Python values should be obvious given their types. The 'Standard size' column
155+
refers to the size of the packed value in bytes when using standard size; that
156+
is, when the format string starts with one of ``'<'``, ``'>'``, ``'!'`` or
157+
``'='``. When using native size, the size of the packed value is
158+
platform-dependent.
155159

156160
+--------+-------------------------+--------------------+----------------+------------+
157161
| Format | C Type | Python type | Standard size | Notes |

0 commit comments

Comments
 (0)