Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstruct.tex @ 19928:6046e9546a70 legacy-trunk
Fixed typo in new 'p' description.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 15 Sep 2001 18:16:27 +0000 |
| parents | 2894458877c8 |
| children | 0bffca64ccc4 914dd5059f38 |
line wrap: on
line diff
--- a/Doc/lib/libstruct.tex Sat Sep 15 18:09:22 2001 +0000 +++ b/Doc/lib/libstruct.tex Sat Sep 15 18:16:27 2001 +0000 @@ -100,7 +100,7 @@ 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
