Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5b7759f

Browse files
committed
Fixed typo in new 'p' description.
1 parent 88091aa commit 5b7759f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libstruct.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ \section{\module{struct} ---
100100
the length of the string, or 255, whichever is smaller. The bytes
101101
of the string follow. If the string passed in to \function{pack()} is too
102102
long (longer than the count minus 1), only the leading count-1 bytes of the
103-
string are stored, If the string is shorter than count-1, it is padded
103+
string are stored. If the string is shorter than count-1, it is padded
104104
with null bytes so that exactly count bytes in all are used. Note that
105105
for \function{unpack()}, the \character{p} format character consumes count
106106
bytes, but that the string returned can never contain more than 255

0 commit comments

Comments
 (0)