From 8a19a1e8bf61bfe98cc35a77cbdc93b62c7be41c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 21 Jul 2019 19:38:35 +0200 Subject: [PATCH] Struct --- README.md | 2 -- index.html | 2 -- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index 5b5119b..8cb3cc9 100644 --- a/README.md +++ b/README.md @@ -1878,8 +1878,6 @@ from struct import pack, unpack, iter_unpack, calcsize b'\x00\x01\x00\x02\x00\x00\x00\x03' >>> unpack('>hhl', b'\x00\x01\x00\x02\x00\x00\x00\x03') (1, 2, 3) ->>> calcsize('>hhl') -8 ``` ### Format diff --git a/index.html b/index.html index cc9219c..dda6de8 100644 --- a/index.html +++ b/index.html @@ -1664,8 +1664,6 @@ cursor.execute('<query>', <dict/namedt b'\x00\x01\x00\x02\x00\x00\x00\x03' >>> unpack('>hhl', b'\x00\x01\x00\x02\x00\x00\x00\x03') (1, 2, 3) ->>> calcsize('>hhl') -8

Format

For standard sizes start format string with: