summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstruct.tex
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-15 18:16:27 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-15 18:16:27 (GMT)
commit5b7759f9db347ececfa0f0cfba0639d9c8caa17c (patch)
tree973a3ceec728a95c106cf7e8bd180b78fcc7eeb7 /Doc/lib/libstruct.tex
parent88091aae7e37dd889743be0a734ff7d4618e0ef7 (diff)
downloadcpython-5b7759f9db347ececfa0f0cfba0639d9c8caa17c.zip
cpython-5b7759f9db347ececfa0f0cfba0639d9c8caa17c.tar.gz
cpython-5b7759f9db347ececfa0f0cfba0639d9c8caa17c.tar.bz2
Fixed typo in new 'p' description.
Diffstat (limited to 'Doc/lib/libstruct.tex')
-rw-r--r--Doc/lib/libstruct.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libstruct.tex b/Doc/lib/libstruct.tex
index 8d0ae60..026968c 100644
--- a/Doc/lib/libstruct.tex
+++ b/Doc/lib/libstruct.tex
@@ -100,7 +100,7 @@ The count is the total number of bytes stored. The first byte stored is
the length of the string, or 255, whichever is smaller. The bytes
of the string follow. If the string passed in to \function{pack()} is too
long (longer than the count minus 1), only the leading count-1 bytes of the
-string are stored, If the string is shorter than count-1, it is padded
+string are stored. If the string is shorter than count-1, it is padded
with null bytes so that exactly count bytes in all are used. Note that
for \function{unpack()}, the \character{p} format character consumes count
bytes, but that the string returned can never contain more than 255