]> granicus.if.org Git - python/commit
Contribution by Hannu Krosing (with some changes).
authorGuido van Rossum <guido@python.org>
Fri, 5 Sep 1997 07:08:39 +0000 (07:08 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Sep 1997 07:08:39 +0000 (07:08 +0000)
commit9eb671fac3ab8b47c7511513ab9576fee0aefc91
treee411af973b408de343c6fbda36ec7c955fc80d02
parentbd4435abcc272cab7f97bd483410fac5ab14cc5f
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.
Modules/structmodule.c