[Python-checkins] r57352 - python/trunk/Doc/library/struct.rst
georg.brandl
python-checkins at python.org
Thu Aug 23 23:21:37 CEST 2007
Author: georg.brandl
Date: Thu Aug 23 23:21:36 2007
New Revision: 57352
Modified:
python/trunk/Doc/library/struct.rst
Log:
Bug #1734111: document struct.Struct.size.
Modified: python/trunk/Doc/library/struct.rst
==============================================================================
--- python/trunk/Doc/library/struct.rst (original)
+++ python/trunk/Doc/library/struct.rst Thu Aug 23 23:21:36 2007
@@ -290,3 +290,8 @@
The format string used to construct this Struct object.
+.. attribute:: Struct.size
+
+ The calculated size of the struct (and hence of the string) corresponding
+ to :attr:`format`.
+
More information about the Python-checkins
mailing list