Skip to content

Commit cf2c3cc

Browse files
authored
Merge pull request #81 from guozhenh/zhen-wiki
pack_info change to pack_into
2 parents 1d9456d + b4d10f2 commit cf2c3cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

en-us/api/pythonStdlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ b'\x07\x00\x00\x00\t\x00\x00\x00'
15671567

15681568
##### Pack the values *v1*, *v2*, … according to the format string *fmt* into a *buffer* starting at *offset*
15691569

1570-
> **ustruct.pack_info(fmt, buffer, offset, v1, v2, ...)**
1570+
> **ustruct.pack_into(fmt, buffer, offset, v1, v2, ...)**
15711571
15721572
Pack the values *v1*, *v2*, … according to the format string *fmt* into a *buffer* starting at *offset*. *offset* may be negative to count from the end of *buffer*.
15731573

zh-cn/api/pythonStdlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1583,7 +1583,7 @@ b'\x07\x00\x00\x00\t\x00\x00\x00'
15831583

15841584
##### 根据格式字符串fmt将值v1、v2、 …打包到从`offset`开始的缓冲区中
15851585

1586-
> **ustruct.pack_info(fmt, buffer, offset, v1, v2, ...)**
1586+
> **ustruct.pack_into(fmt, buffer, offset, v1, v2, ...)**
15871587
15881588
根据格式字符串fmt将值v1、v2、 …打包到从`offset`开始的缓冲区中。从缓冲区的末尾算起,`offset`可能为负。
15891589

0 commit comments

Comments
 (0)