]> granicus.if.org Git - python/commit
Issue #7355: Various improvements to struct module documentation.
authorMark Dickinson <dickinsm@gmail.com>
Mon, 12 Apr 2010 19:25:32 +0000 (19:25 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 12 Apr 2010 19:25:32 +0000 (19:25 +0000)
commitbbacb838c94797a174bdf54ec763554c525bb0a6
treeecf52fd95d52556b437de655b6717763985e588f
parent4e20ab24cf992528539550b0136d01684e2dd74b
Issue #7355: Various improvements to struct module documentation.

 - note early on that the result of struct.pack includes padding
   bytes by default

 - add examples showing how order of struct fields can affect size
   (due to padding)

 - better headers and references; introduction to format strings

 - integrate packing notes into table

Many thanks to Meador Inge for the patch.
Doc/library/struct.rst