commit | 9eb671fac3ab8b47c7511513ab9576fee0aefc91 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Sep 05 07:08:39 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Sep 05 07:08:39 1997 +0000 |
tree | e411af973b408de343c6fbda36ec7c955fc80d02 | |
parent | bd4435abcc272cab7f97bd483410fac5ab14cc5f [diff] |
Contribution by Hannu Krosing (with some changes). Added 'p' format character for Pascal string (i.e. leading length byte). This uses the count prefix line 's' does, except that the count includes the length byte; i.e. '10p' takes 10 bytes packed but has space for a length byte and 9 data bytes.