Index: Doc/library/struct.rst =================================================================== --- Doc/library/struct.rst (revision 88500) +++ Doc/library/struct.rst (working copy) @@ -240,6 +240,7 @@ For the ``'s'`` format character, the count is interpreted as the length of the bytes, not a repeat count like for the other format characters; for example, ``'10s'`` means a single 10-byte string, while ``'10c'`` means 10 characters. +If a count is not given, it defaults to 1; ``'s'`` means the same as ``'1s'``. For packing, the string is truncated or padded with null bytes as appropriate to make it fit. For unpacking, the resulting bytes object always has exactly the specified number of bytes. As a special case, ``'0s'`` means a single, empty