summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/struct.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index 69d95f2..9c0e32b 100644
--- a/Doc/library/struct.rst
+++ b/Doc/library/struct.rst
@@ -371,7 +371,7 @@ ordering::
>>> from struct import *
>>> pack(">bhl", 1, 2, 3)
b'\x01\x00\x02\x00\x00\x00\x03'
- >>> unpack('>bhl', b'\x01\x00\x02\x00\x00\x00\x03'
+ >>> unpack('>bhl', b'\x01\x00\x02\x00\x00\x00\x03')
(1, 2, 3)
>>> calcsize('>bhl')
7