Fix syntax error in struct doc example (#102160)

Missing closing ) reported on Discuss by Chukwudi Nwachukwu.
This commit is contained in:
Terry Jan Reedy 2023-02-22 18:55:03 -05:00 committed by GitHub
parent fcadc7e405
commit 8f647477f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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