summaryrefslogtreecommitdiffstats
path: root/Doc/library/struct.rst
Commit message (Collapse)AuthorAgeFilesLines
* More struct doc tweaks.Mark Dickinson2010-04-121-6/+13
|
* Rewrap some long lines in struct module doc source.Mark Dickinson2010-04-121-16/+18
|
* Issue #7355: Various improvements to struct module documentation.Mark Dickinson2010-04-121-55/+114
| | | | | | | | | | | | | | - 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.
* Fix markup errors.Ezio Melotti2010-04-051-1/+1
|
* Issue #8300: Let struct.pack use __index__ to convert and pack non-integers.Mark Dickinson2010-04-031-3/+8
| | | | Based on a patch by Meador Inge.
* Issue #1530559: When packing a non-integer with any integer conversionMark Dickinson2010-03-071-0/+12
| | | | | | | | | code using struct.pack, attempt to convert to an integer first using the argument's __int__ method (if present). Also raise a DeprecationWarning for any such usage of __int__. This fixes a regression from 2.6, where some (but not all) integer conversion codes already used __int__.
* #6414: clarify description of processor endianness.Andrew M. Kuchling2010-02-221-3/+5
| | | | Text by Alexey Shamrin; I changed 'DEC Alpha' to the more relevant 'Intel Itanium'.
* Fixed a typo.Facundo Batista2009-03-041-1/+1
|
* Issue 2909: show how to name unpacked fields.Raymond Hettinger2008-05-231-0/+10
|
* reformat some documentation of classes so methods and attributes are under ↵Benjamin Peterson2008-04-251-17/+17
| | | | the class directive
* Issue 1872: Changed the struct module typecode from 't' to '?', forThomas Heller2008-03-051-3/+3
| | | | compatibility with PEP3118.
* Fix issue1789: The tutorial contained a misuse of the struct module.Gregory P. Smith2008-01-241-2/+2
| | | | (also remove an unneeded import struct from test_largefile)
* Some cleanup in the docs.Georg Brandl2007-12-291-1/+1
|
* Bug #1734111: document struct.Struct.size.Georg Brandl2007-08-231-0/+5
|
* Move the 2.6 reST doc tree in place.Georg Brandl2007-08-151-0/+292