• Mark Dickinson's avatar
    Issue #7355: Various improvements to struct module documentation. · bbacb838
    Mark Dickinson authored
     - 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.
    bbacb838
struct.rst 15.4 KB