Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf0a836

Browse files
Fix syntax error in struct doc example (GH-102160)
Missing closing ) reported on Discuss by Chukwudi Nwachukwu.(cherry picked from commit8f64747)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent8b5498e commitbf0a836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/library/struct.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ ordering::
371371
>>> from struct import *
372372
>>> pack(">bhl", 1, 2, 3)
373373
b'\x01\x00\x02\x00\x00\x00\x03'
374-
>>> unpack('>bhl', b'\x01\x00\x02\x00\x00\x00\x03'
374+
>>> unpack('>bhl', b'\x01\x00\x02\x00\x00\x00\x03')
375375
(1, 2, 3)
376376
>>> calcsize('>bhl')
377377
7

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp